Memory fragmentation is a potential issue in all languages that not use a
Compacting GC, so yes.

There are some attenuating circumstances in Rust, notably the fact that
unless you use a ~ pointer the memory is allocated in a task private heap
which is entirely recycled at the death of the task, but memory
fragmentation is always a  potential issue.


On Mon, Apr 14, 2014 at 6:19 PM, Zach Moazeni <[email protected]> wrote:

> Hello,
>
> I'm starting to explore Rust, and as someone who has primarily worked in
> GC'd languages I'm curious if I need to watch out for anything related to
> memory fragmentation. Or if Rust or LLVM is doing something under the
> covers where this is less of an issue.
>
> Kind regards,
> Zach
>
> _______________________________________________
> 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

Reply via email to