On 7/18/13 5:21 PM, Bill McCloskey wrote:
It seems like we could use non-reserved slots on proxies.

I think the idea is to try to have objects that are allocated in the JS heap but that are treated as Rust objects from Rust. That means that the actual object layout needs to be the same for all Node objects, say (if the Node members are stored in the JS-heap allocation).

Then you could just use getSlot and setSlot on them.

Mmm.... Can the JS engine deal with getSlot from the layout thread on a non-reserved slot that the firstChild pointer is stored in, say, while properties are being added to the object on the main thread?

-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to