Subj : Re: Persisting a JSScript To : Louis Paul Santillan From : Brendan Eich Date : Tue Aug 19 2003 11:50 pm Louis Paul Santillan wrote: >After looking through Sterling's and Forest's examples and the XDR header >files, I'm starting to understand. A question arose, however. How >tightly bound are serialized JSScripts to a context/runtime? What I am >really asking is: say I have a SSJS that I serialize (so assume it makes >many uses of natively implemented methods/objects). Later I update those >methods/objects, but do not change their interfaces. Will the script >have to be re-serialized to match the new context/runtime? > Context is just an execution vehicle, so no. Runtime is a heap of objects, atoms in an atom table, and a few other "global" things. Serialized scripts are self-contained byte-strings. So no. /be .