In theory it would be possible with some work. If I was doing it, my 
starting point would be to implement a membrane targeted at hot swapping 
objects and functions (using tools I've already made for such tasks  
https://github.com/Benvie/meta-objects). That is, I'd make it so I could 
swap out the actual object or function that is mirrored, yet retain 
same-identity externally. That is the first major hurdle to really 
achieving true hot swapping, because there's no way to come in after the 
fact and try and play cleanup duty and expect it to work. Once the 
references are disseminated there's nothing that can be done except for 
rebooting the context. But if you're able to protect and control those 
references (using the membrane concept) you can sidestep around the issue 
and get on to the other difficulties with the idea. I do think it's 
possible to do.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to