Hey,
Is there any way to have a per-thread std.Random without having to check if it has been initialized before each usage?
The naive way would be a threadlocal std.random, and initialized flag and checking that when calling some next() method and if required initializing it. However, I'd like to avoid that explicit lazy initialization while ideally also avoiding explicit initialization on thread spawn (that's what I'd go with though if there is no way around it).