Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
loeg
0y ago
0 comments
Save
Share
Sadly, people that don't know better use std::mt19937 all the time :-(.
0 comments
4 comments · 1 top-level
top
newest
oldest
on_the_train
0y ago
· 3 in thread
And the only reason is its cool name. Humans are weird
slavik81
0y ago
I used it because it was recommended by Stephan T. Lavavej, maintainer of Visual Studio's C++ Standard Library, in his "rand() Considered Harmful" talk, back when <random> was introduced. See 11m30s.
https://youtu.be/LDPMpc-ENqY?t=10m50s
loeg
OP
0y ago
Well, it's in std. So there's an appeal to authority (the C++ language authors should be smart, right?) and convenience.
on_the_train
0y ago
There are still others in <random>. Yet they always use the cool twister one with the funny numbers
2 more replies
j
/
k
navigate · click thread line to collapse