News for hackers. Stuff that matters.
Re:Near-duplicate features of C++ (2017) by roel_v on Friday May 24, 2019 @04:13AM (#19999500)
Me too. I've been writing pretty much only C++ for 20 years, and if I'd go back and count, I think I'd have maybe a dozen times where I used new/delete, none of those in the last 10 years. Like all languages that are actually used, there is much one can complain about in C++, but claiming that one needs a lot of manual memory management is done mostly by people who haven't written much if any C++.
Re:Near-duplicate features of C++ (2017) by emsy on Friday May 24, 2019 @05:59AM (#20000001)
Or people who care about heap fragmentation and cache misses.
Re:Near-duplicate features of C++ (2017) by roel_v on Friday May 24, 2019 @06:50AM (#20000209)
Sure, but those people don't want GC either. Not to say that all languages that are not C++ are garbage collected, but the people who complain about manual memory mgmt are not the ones who care about those things.