On 09/11/13 09:27, Patrick Walton wrote:
On 11/8/13 2:12 PM, Oren Ben-Kiki wrote:
Is there a place where one can see new proposals (is it all in the
issues list in github and/or here, or is there a 3rd place?)
E.g. there's the whole lets-get-rid-of-@, and now is the 1st time I
heard there's a "dynamically sized types" proposal... well, other than
in passing in this thread, that is.
Here's the stuff we have on dynamically sized types (DSTs):
https://github.com/mozilla/rust/issues/6308
http://smallcultfollowing.com/babysteps/blog/2013/04/30/dynamically-sized-types/
http://smallcultfollowing.com/babysteps/blog/2013/05/13/recurring-closures-and-dynamically-sized-types/
Notice that the representation changes discussed in Niko's initial
blog post are out of date. We aren't planning to do them, since there
doesn't seem to be a soundness problem with having smart pointers like
like `~` having different representations depending on what they point
to.
This will make transmuting ~ to get a * (e.g., to allocate memory for
storage in an Rc, with automatic clean-up by transmuting back to ~ on
destruction) harder to get right, won't it?
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev