Earlier quoted context omitted.
Meh. I might have a huge Stockholm syndrome with manual resource management since I've basically started coding with C and used GC-free languages for most of my life since them but I never really understood why people liked GCs so much outside of scripting languages where convenience trumps correctness and you just litter your resources around instead of tracking them properly. Are people using GC languages really of…
I'm guessing you've never written heavily concurrent code. C/C++/Rust are totally fine when you have a single thread. It's concurrency and parallelism where object ownership and who gets to destroy what and when becomes a real problem unless you have GC.
Guess again.
> C/C++/Rust are totally fine when you have a single thread. It's concurrency and parallelism where object ownership and who gets to destroy what and when becomes a real problem unless you have GC.
Given that one of Rust's main shticks is concurrency and parallelism it's an odd thing to say. You can always use an Arc if you want reference counting between threads which is sort-of GC but opt-in and perfectly deterministic.