You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I'm the author and maintainer of V8's custom start-up snapshot. I just came across this project recently. I think you would find this design document very interesting.
A few highlights:
FunctionTemplates and ObjectTemplates and their instances can now be serialized, provided that the native function address is provided to v8::SnapshotCreator.
FunctionTemplates and ObjectTemplates objects can be extracted from the snapshot, so there is no need to set them up from scratch.
Content of internal fields (set by the embedder) in an object can now be serialized/deserializer through user-defined callbacks.
Multiple context snapshots per start-up snapshot blob.
Please let me know if you are interested and have questions.
Ajedi32, maxnordlund, mathieumg, sindresorhus, firejune and 9 more