Next: Debugging tools, Previous: OCapN: The Object Capabilities Network, Up: Spritely Goblins [Contents][Index]
Goblins has a secure persistence mechanism that allows for serializing an entire live object graph. This mechanism allows objects to describe themselves with only the capabilities they have, preventing malicious objects from being restored with more power than they had when they were saved.
If all objects in a graph can be serialized then they can then be stored (e.g. to disk) and later restored (or “rehydrated”) back into live objects that retain all of their original relationships. Due to the nature of how the persistence mechanism works, it also can be used as a powerful tool for object upgrades and live hacking.