-
Notifications
You must be signed in to change notification settings - Fork 160
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
Adding reference to Serialization Package #532
base: master
Are you sure you want to change the base?
Conversation
Does this really enable long-term storage? Is it the case that I can serialize with one version of Julia and then deserialize with another? |
docs/src/how_to/serialization.md
Outdated
@@ -0,0 +1,29 @@ | |||
# [How to Serialize Traces for Storage](@id how_to_serialize) | |||
|
|||
For emphemeral storage of Dynamic Traces, `Serialization.jl` works well. For long term storage, however, you will likely run into issues using `Serialization.jl` since traces internally track function pointers (recall `Trace`s may contain function pointers). For this, you can try the experiemental [`GenSerialization.jl`](https://github.com/probcomp/GenSerialization.jl) which still uses `Serialization.jl` but can properly discard function call data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, "emphemeral"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, "experiemental"
docs/src/how_to/serialization.md
Outdated
The same generative function used to save out the trace must be defined at runtime before deserialization. | ||
|
||
!!! note | ||
See the repo for warnings and limitations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a link to the repo, where the person is supposed to look
This PR adds a link to an experimental package called GenSerialization.jl for serializing traces in long term storage.