Re:Rust vs C Pitfalls
by Manishearth on Wednesday December 28, 2016 @01:13AM
(#13268784)
> This is because the garbage collector tends to have preallocated memory lying around,
This is an allocator feature independent of garbage collection; jemalloc does this for example. GCd languages have the potential to do this better since they can do additional analysis whilst tracing for little additional cost, but non-GCd languages can still benefit from this.
This is an allocator feature independent of garbage collection; jemalloc does this for example. GCd languages have the potential to do this better since they can do additional analysis whilst tracing for little additional cost, but non-GCd languages can still benefit from this.