News for hackers. Stuff that matters.
Re:How to write slow Rust code by vips7L on Tuesday August 03, 2021 @08:08AM (#28048222)
IIRC it really depends on the chosen GC. ZGC will return memory back to the OS but older GCs will just hold on to the memory forever (up until -Xmx)
Re:How to write slow Rust code by native_samples on Wednesday August 04, 2021 @05:21AM (#28058931)
That's true but even modern GCs like G1 or ZGC won't do background GC work unless the program is idle. So for a benchmark like this it doesn't matter.