Skip to content

Random number generators not serializable #84

Description

@maciejkula

It would be nice for the rand number generators to implement RustcEncodable and RustcDecodable.

While I am not familiar with the possible implementation difficulties, serializability of random number generators is quite useful in Python's numpy for instance --- where the Mersenne twister implementation is easily serializable given that its state is just a regular numpy array.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-new-intFunctionality: new, within Rand

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions