c/rust · by SorteKanin@feddit.dk · 16dCasper's Blog – Why I forked rand https://casualhacks.net/blog/2026-07-27-why-i-forked-rand.html4 points · 3 comments · view on lemmy.world
3 Comments
BB_C@programming.dev · 1 pts · 16d
Ctrl-F fastrand (0 results)
I had to stop reading very early. Sorry, but if you're going to do this topic, at least acknowledge the other very popular randomness crate, and argue why it wasn't good enough for what you wanted.
SorteKanin@feddit.dk · 1 pts · 16d
Isn't it pretty obvious? Fastrand is not cryptographically secure, urandom provides that option.
BB_C@programming.dev · 1 pts · 16d
That's not relevant when it's a question of interface.
fastrandhas a singleRngstruct that drives everything else. Was the option to replace the implementation details of this struct explored? No idea.