Login  Register

Re: [Ann] New version of Ghost

Posted by Denis Kudriashov on Mar 24, 2016; 7:05pm
URL: https://forum.world.st/Ann-New-version-of-Ghost-tp4886357p4886375.html


2016-03-24 19:15 GMT+01:00 [hidden email] <[hidden email]>:
Awesome. Things are looking good.

Now, just have to find time to use all of this :-)

I just should say that I am not succeed to provide really safe ghosts. 
If you will try to implement new kind of proxy (on top of Ghost) it is possible to hang image. 
Problem that when you make some mistake in implementation it usually lead to infinite recursion and interrupt usually not helps because opened debugger produces new messages to ghost which produces another recursion due to original errors. And errors are not only exceptions but some unexpected messages to proxies. For example if you will use Set to implement proxy behaviour (for some reason) it will send #= and #hash to proxy when you will try to add it.
There are tools now to minimize such cases. For example standart meta level will not intercept messages from debugger. But as soon as you start experiment with empty meta level you will  get such problems.
This week Guille Polito start to use Ghost for new proxies and he was not happy due to this kind of problems. Maybe together we will find some solution how to make ghosts safe.