Skip to content

move MersenneTwister out of Random #41272

@StefanKarpinski

Description

@StefanKarpinski

We have to keep MersenneTwister around and thus keep dSFMT as a dependency of Julia itself even though we no longer use it as our default PRNG. For 2.0 we should move it out and consider exporting no specific PRNG type from Random, but rather have external packages that implement RNGs and either have a thin wrapper that re-exports whatever private specific PRNG is the default in the stdlib (currently Xoshiro), or perhaps cleaner, have a Xoshiro.jl package and vendor a copy of it as a stdlib. Or if we have a solution to upgrading stdlibs at that point we could make it a stdlib and have Random depend on it but not reexport the PRNG itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    randomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions