Linked by Eugenia Loli on Mon 10th Oct 2005 16:48 UTC, submitted by Shlomi Fish
General Development Shlomi Fish has written a new essay titled "When C is the Best? (Tool for the Job)". Its theme is giving several reasons (besides high speed and low memory consumption) why some code should still be written in C.
Permalink for comment 42676
To read all comments associated with this story, please click here.
JeffS
Member since:
2005-07-12

According to Tiobe, which has reasonable metrics (for what can be an unreasonable, difficult to measure, clannish subject), C is currently number 2 in programming language popularity. This after leading recently until Java 5.0 came out, which propelled Java back to the number one spot.

So why is C still in such widespread use? C has a lot of detractors, yet it's still being used massively to build real world systems and solve real world problems. In spite of some of the difficulities with C programming (it's mid level, almost lower level, and requires handling bits, pointers and direct memory management), C is still a very effective tool.

Personally, I'm very glad that C remains in widespread use. I hate bloated, slow, memory consuming software, and "managed" languages, like Java and .Net, seem to invite the programmer to make their code as slow and bloated as possible, plus the huge overhead of the virtual machine and garbage collector. Yes, memory is relatively cheap, and yes, CPUs, even cheap ones, are quite fast these days. But when you start using resource hungry programs, it all adds up real quick.

So, Viva C!

Reply Score: 3