4 ms·
It's 2025 and we are still discussing memory leaks. The very existence of this article is an indication that C++ (used like that) has an issue. Non-kernel progr
by yusina 1y ago
It's 2025 and we are still discussing memory leaks. The very existence of this article is an indication that C++ (used like that) has an issue. Non-kernel programmers should not even be able to create memory leaks by mistake.
Well, unless they are doing something incredibly stupid including stepping over several explicit warnings of "don't do this unless you are very sure about what you are doing".
- teleforce 1y agoIt's really a shame isn't it? It's 2025 and we still have no programming languages that have impeccable GC for automatic memory management rather than forcing programmer to wrestling and fighting for manually managing the memory [1]. Auto industry kind of solved this automation mechanism for example with the new high performance Toyota GR Corolla has a new automatic gear transmission that's proven as fast if not faster than the manual version [2]. The same goes to F1, the epitome of car racing performance. [1] Understanding Memory Management, Part 5: Fighting with Rust (101 comments): https://news.ycombinator.com/item?id=43882291 https://news.ycombinator.com/item?id=43882291 [2] 2025 Toyota GR Corolla's New Automatic Gearbox Democratizes Fun: https://www.caranddriver.com/reviews/a62672128/2025-toyota-gr-corolla-automatic-drive/ https://www.caranddriver.com/reviews/a62672128/2025-toyota-g...