V8 Blog company blog
There's Math.random(), and then there's Math.random() (2015)
V8’s Math.random implementation now uses an algorithm called xorshift128+, improving the randomness compared to the old MWC1616 implementation.
- Points
- 124
- HN comments
- 76
- Submissions
- 1
- Cited by
- 5 commenters
Software EngineeringMath & Algorithms2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 3, 2025 | There's Math.random(), and then there's Math.random() (2015) by beepill | 124 | 76 |
Cited in comments
Linked from 5 Hacker News comments by 5 different people, from Oct 2019 to Aug 2023.
Most recent:
- masklinn · Aug 20, 2023
- moritzwarhier · Aug 19, 2023
- Dylan16807 · Oct 13, 2022
- adunk · Oct 13, 2022
- guessmyname · Oct 20, 2019