|
|
|
|
|
by preg_match
10 days ago
|
|
I mean I just disagree fundamentally. It’s not trivial, it’s not convenient. It takes much, much more code and barely works when it does. And to top it off, it’s trivial to break, which is why we see it broken in just about every C codebase on the planet of any sort of large size. That’s not to say C++ is perfect, it’s clearly not. It’s just that C is worse. The way I see it, there’s really no reason to ever write application code in C. It will take more code, it will be more buggy, and it will most likely be much slower. The reality is that garbage collected languages do often end up being faster because most allocation techniques in C and C++ are naive and expensive. Which is why we see almost zero applications written in C. They’re written in Java, dotnet, Go, and others. Only low-level libraries are written in C these days because writing C sucks ass. |
|