News for hackers. Stuff that matters.
Re:Rust can be difficult to learn and frustrating, but it's ... by ernst_klim on Tuesday October 23, 2018 @08:49AM (#18282881)
>The unpredictable aspect is the stop the world pause caused by garbage collection.

As well as malloc pauses on deallocation. The only way of using your memory in realtime apps is preallocation, which often can be done in languages with GC too, it would be just very inconvenient.

At the moment custom allocation support in rust is a joke if you compare it with Ada or C++, and Box is not better than GC in this regard.

>Unstable

Besides it's very inconvenient to use. Does Box/Rc/Arc support this arena allocator, as C++'s smart_pointers do?

There are no comments on this comment yet.