Are Swift's random number generators able to work concurrently?

The Swift project has a couple RNG implementations to support various tests. The SplitMix RNG is good and a lot faster than the system RNG — if you initialize it with a seed from the system RNG, you should get what you're looking for:

1 Like