cc @ManishEarth: Here’s another silly idea: What if you could never store a strong reference from Rust code to a DOM object, ever? All JS object pointers would be forced with lifetimes to be stack-only. Use the reserved slot API and native JS collections for object data.
-
-
Not much more than having to root JS collections and whatnot.
-
I dunno, https://github.com/asajeffrey/josephine/blob/master/examples/dbllist/dbllist.rs … looks really complicated compared to just using a plain old JS collection.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.