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

What is this "similar function" with "similar API issues"?

C++11's random utilities and O'Neill's randutils aren't similar to std::rand at all. They're totally different beasts from std::rand.

Making std::rand a decent RNG would probably make the world a better place. I'm not disagreeing with that. But even if std::rand used a decent algorithm, it's still a suboptimal API.




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

Search: