Get the latest tech news
Fat Rand: How many lines do you need to generate a random number?
More musing on dependencies.
For that single function (and the information which DLL it needs link into), we are compiling and downloading megabytes of windows-targets. ppv-lite86(the rand's picked default randon number generator) alone comes to 3,587 lines of code including 168 unsafe blocks. The difference is that I can trust the standard library as a whole—it comes from a single set of authors, making auditing easier.
Or read this on Hacker News