Hacker News new | past | comments | ask | show | jobs | submit login

> Thought it was par for the course for builtin rng to be somewhat shitty, but maybe other languages stack up better?

That seems to be pretty common, although v8's seems especially terrible. In thread linked by PhantomGremlin[0] pcwalton also points out that stronger RNG can be "detrimental" to benchmarks if they're slower, as many benchmarks ultimately bench the speed of the basic RNG (or for an other issue in the same category the speed of the basic hash function), so the incentive for builtin RNGs is to be fast and cheap, not to be good.

[0] https://news.ycombinator.com/item?id=10598065




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: