Re:Friendship ended with the garbage collector
by zabzonk on Friday August 27, 2021 @12:59PM
(#28330233)
> Concurrency is a much harder problem and something we deal with more often. I would consider memory management close to not a concern.
Absolutely. The longest lasting bug I've ever had was in some multi-threaded code in a trading server (and nothing to do with memory - shared resources getting corrupted). When I tracked it down (after about 6 months!) I repeatedly banged my head on my desk, yelling "You idiot, you idiot, you idiot!" - referring to me.
Compared to stuff like this memory leaks are really easy to test for, detect, and fix. Anyone can write a test harness to see if there is a leak.
Concurrency is a much harder problem and something we deal with more often. I would consider memory management close to not a concern.