3 ms·
Erlang's style per-process garbage collection requires (or at least favors) passing messages by value between processes. Both Go and Rust - being relatively lo
by nimrody 15y ago
Erlang's style per-process garbage collection requires (or at least favors) passing messages by value between processes.
Both Go and Rust - being relatively low level - prefer passing pointers (references) rather than the data itself. This requires a shared GC heap.
No free lunch...
- obtu 15y agoRust actually has multiple heaps with their own lifetime characteristics so that they can avoid GC in many cases, and that the only GCed areas are per-thread.