>>38Thread-safe alternatives in the standard library is a fine thing, but it requires passing around an environment. It's not a big hassle when the environment won't outlive the frame its created in, but it's unattractive to libraries where the environment (or context) would be created close to main and passed all over, along with any other environments.
So it goes. If you don't do that from the start eventually someone will start asking for multiple environments in the same application and then you will really be screwed. Library authors seem to endemically underestimate the need for this.
>>39We were discussing shared libraries. Random number generation is coupled to IO and is really an operating systems issue; if you want a decent entropy source you are going to need to deal with synchronizing access to some global shared state.