On 11-03-15 05:24 PM, Tim Chevalier wrote:
On Tue, Mar 15, 2011 at 2:17 PM, Rafael Avila de Espindola
<[email protected]> wrote:
Sorry for bringing even harder questions, but this also got me thinking
about one of the nice features of C/C++: the ability to represent not only
cycles, but arbitrary memory layout. Is there a plan to implement something
similar in rust?
There's no reason arbitrary memory layout can't be done safely -- not
to toot my own group's horn here, but Habit[0][1][2] has features to
look at if you're interested in that.
Well, depends on how far you go with "arbitrary". Before thinking about
the garbage collector what I had in mind was a dynamic linker. In that
case you have to apply relocations to get a valid function pointer that
is then called.
Cheers,
Tim
Cheers,
Rafael
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev