Source
- URL: https://x.com/mikejt4/status/1917515273680347506
- Author: Michael Tomlinson (@mikejt4)
- Posted: 2025-04-30 09:44:01
Branch
1/ @mikejt4
My experience has been different. Every piece of C code I used had weird memory leaks and page faults.
Good C++ with no naked pointers… huge codebase, dozens of developers - never one memory leaks. And performance was fantastic. Maybe not identical to hand-optimized C… but far easier to understand and maintain… especially for non god-like developers. We converted everything to C++, including our realtime embedded code. (Medical dev, so regulated, process driven…).
2/ @rfleury
@mikejt4
Many people have written C in very poor ways, but with the correct approach, it’s (a) simpler, (b) faster, (c) easier to maintain, (d) easier to read
3/ @dervish_candela
@rfleury @mikejt4
if there is so little code written ‘with the correct approach’, perhaps ‘the correct approach’ is in fact anything but easier and simpler
4/ @rfleury
@dervish_candela @mikejt4
I genuinely have no idea how you think that’s a coherent point—do you think fields simply do not advance?