Skip to content

Random number generators not serializable #84

@maciejkula

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.

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