Remix.run Logo
Xorshift Generators(alanzucconi.com)
15 points by tobr 4 hours ago | 5 comments
AlanZucconi 36 minutes ago | parent | next [-]

I'm really curious... How did you manage to post this link before I did?

tobr 11 minutes ago | parent [-]

I have your feed in my RSS reader! This seemed like something HN would be interested in.

delduca 2 hours ago | parent | prev | next [-]

I’ve replaced Lua’s random by this. I’ve posted about it here https://nullonerror.org/2025/08/02/replacing-lua-s-math-rand...

saithound an hour ago | parent | prev [-]

Ah yes, Xorshift, the RANDU [1] of the 21st century [2].

There is no real use case for better non-CS generators, as explained by adrian_b back in 2021 [3].

[1] https://en.wikipedia.org/wiki/RANDU [2] https://arxiv.org/abs/1908.10020 [3] https://news.ycombinator.com/item?id=28886698

moregrist 39 minutes ago | parent [-]

I’m not sure what point you’re trying to make, exactly, but a use case for better non-CS generators has always been stochastic simulation, especially simulation/sampling approaches that are bound by the number and quality of uniform variates per second.

As someone who has spent considerable time working in these areas, I still appreciate advances.