Skip to content

A new RNG for Julia? #8786

Closed
Closed
@andreasnoack

Description

It has been discussed if we should consider this RNG alongside or instead of dSFMT.

The RNG we are using now is a Mersenne Twister implementation adapted to use SIMD, but we don't really get anything from SIMD right now because of #6573.

In addition, dSFMT actually consistently fails one of the tests in BigCrush in contrast to the proposed XORShift* algorithm.

Finally, the XORShift* is very simple and can be written in Julia. See some implementations with various perfomance tweaks here

https://gist.github.com/andreasnoack/9f3f63d7f1d00a07359b

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    randomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions