Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow serializing/deserializing Primes #33

Open
chrismooredev opened this issue Feb 5, 2021 · 1 comment
Open

Allow serializing/deserializing Primes #33

chrismooredev opened this issue Feb 5, 2021 · 1 comment

Comments

@chrismooredev
Copy link

I'm working on a solver/number generator for OEIS A111441 and in the process, I'd like to be able to start/stop the program, as I intend to run it for multiple days and would not like to have to restart from zero if I have to stop the program for whatever reason.

I tried to follow a guide to implement serde for remote types, but there were just too many nested private types that it didn't end up as feasible for me, so I figured I'd ask.

@cuviper
Copy link
Collaborator

cuviper commented Mar 24, 2021

I think that might be okay, but I wouldn't want the serialized format to lock us into the current internal data structures entirely. That is, it should be somewhat abstracted from the actual in-memory representation so we're free to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants