Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
logos01
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
logos01
6y ago
Yes and no. How do you ensure you don't hit a bad stream? I don't think there is any guarantee. For a very long stream, crypto is going to be good. For a not so long one, I am not so sure
2.
▲
by
logos01
6y ago
100% agree. You can also use chacha or aes the same way. I like it. I wonder however if some streams may not be too extreme with those. https://chasethedevil.github.io/post/more-on-random-number-g...
3.
▲
by
logos01
6y ago
And the pcg page has pretty colors
4.
▲
by
logos01
6y ago
I'd call that a walk in the park if security is concerned.
5.
▲
by
logos01
6y ago
You get a good distribution in 99.99% of the cases. There is no perfect rng. I am sure that pcg and xoroshiro also have deficiencies. The issue of good seedings is quite general.
6.
▲
by
logos01
6y ago
For a view less centered on the pcg vs xoshiro world: https://chasethedevil.github.io/post/war-of-the-random-numbe...
7.
▲
by
logos01
6y ago
Julia uses dSFMT, which is as fast as xoshiro on vigna own benchmark page. I would not call that slow.