Hi,
On 28/07/2013 18:46, Patrick Walton wrote:
It's not that complicated. Most of the hard work is in placement new.
And it's not like we have a choice really: Servo is starting to grow
custom smart pointers all over the place (the DOM, probably the Flow
tree, all JS objects, ARC, RWARC...) Making them stay second-class
forever is kind of a non-starter at this point.
Fair enough. I am however a bit concerned about this considering that
the last proposal I saw was rewriting things to be closures and then
passing those closures to methods. Currently that just does not work
yet well because stack closures are not transparent.
For instance a break or continue work break if it's moved into a closure
(#3064). Pretty sure there are some other things as well that will not
survive a silent move into a closure.
Regards,
Armin
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev