I'm still a newbie too, so I can't answer all of your questions, but:

On Wed, May 22, 2013 at 7:39 AM, Zoltán Tóth <[email protected]> wrote:
> 1) The implementation details of the garbage collector. I understand that
> implementation details may sound a bit boring topic for a languge designer,
> but for anyone considering using the language in practice it may be a
> decisive factor.
>

The garbage collector for managed boxes (@-ptrs) is currently
reference counting with a broken cycle collector. It leaks a lot, not
good at all. Graydon has a real GC in
https://github.com/graydon/rust/tree/gc. It's conservative and not
very sophisticated yet. Someone else will have to elaborate on the
details, I don't know them.

> The importance of these questions is from the fact that Rust denies explicit
> memory management for the programmer and instead forces its own solutions,
> the GC heap and the exchange heap.
>

This actually isn't true. You can still use raw pointers (same syntax
as C, *foo) and custom allocation code, but you need to use unsafe
code and write your own safe wrappers.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to