logoalt Hacker News

darksaints • yesterday at 7:46 PM • 0 replies • view on HN

That's true and there are some truly high throughput systems that absolutely benefit from garbage collection (I've written one of them, and can't sing enough praises of not one but several java garbage collection types), but there are two problems here:

1) most garbage collectors are pretty lame and can't even come close to the throughput/efficiency of manually managed memory, and

2) the vast majority of software does not even come close to the frontier of what is possible with software, and therefore the thing that matters most is correctness.

Rust does a better job at correctness than most languages because the type system is so robust, and it does a better job at memory management than most languages because most languages do garbage collection so poorly.