Proxy objects and collection

2014-09-02 Thread Daurnimator
I'd like to submit a request for some sort of Proxy collection notification, so resources can be freed. This will greatly help with language interoperability. I'm the maintainer of lua.vm.js[1], which allows Lua code to run in the browser. I've managed to construct a simple and robust

Re: Proxy objects and collection

2014-09-02 Thread Daurnimator
On 2 September 2014 16:40, Brendan Eich bren...@mozilla.org wrote: Daurnimator wrote: If the object is freed before the trap, then the trap just gets some sort of object id. Then it can call out to the external resource manager: hey, resource id 123 isn't needed any more. Which could then free