3 ms·
> If C is so bad, why does only C programs survive? The short answer is because you're ignoring all the programs that survive that aren't C. The vast majority
by jcranmer 3y ago
> If C is so bad, why does only C programs survive?
The short answer is because you're ignoring all the programs that survive that aren't C. The vast majority of software I use on a day-to-day basis is in fact not written in C, but in C++--and as a software developer, that includes things like my compiler (gcc/g++), debugger (gdb), build system (cmake, ninja). I would guess that the oldest libraries still in common use are written in Fortran, not C--I've definitely seen Fortran code with comments that predate C in the first place.