Open connorkuehl opened 5 years ago
https://clang.llvm.org/docs/Toolchain.html
I think if we build the entire toolchain perhaps we can use their implementation:
https://github.com/clang-randstruct/llvm-project/blob/develop/libcxx/include/random
I'm familiar with building the full toolchain but I suspect the build will increase by a huge factor, so be prepared
From what I've read specifying a specific algorithm should do the trick as opposed to relying on a default one
mt19937_64 looks to be a good fit
The PR for swapping to default_random_engine
to mt19937_64
has been merged.
What remains is moving away from shuffle
to a different implementation.
Per this comment on our RFC
default_random_engine
andshuffle
are insufficient since they're implementation-defined.Maybe LLVM's got a randomness implementation in their development kit or we need to find some alternative with a compatible license.