-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Investigate bytecode serialization #732
Comments
/cc @josefs |
Relevant: it should be possible to serialize core to iface files, taking hints from ezyang/ghc@13615ca. The idea here is that we can preserve the Core produced by the frontend in the interface file such that we can later easily produce restart the compilation pipeline to produce bytecode (which should be quick). |
Note that |
closing as this is a non-actionable documentation ticket |
Bytecode itself can be serialised.
ResolvedBCO
has aBinary
instance although that might be too late in the compilation pipeline for you. Specifically the compilation pipeline for bytecode is,I haven't thought hard about where the right place in this pipeline would be to persist bytecode.
Originally posted by @bgamari in https://github.com/haskell/ghcide/issues/854#issuecomment-705790631
The text was updated successfully, but these errors were encountered: