News for hackers. Stuff that matters.
Re:The "C is Efficient" Language Fallacy (2006) by AngryParsley on Monday January 09, 2012 @11:14AM (#3443025)
>Simple in the sense that it is a small language. There are not a lot of constructs, abstractions, etc. C lets you allocate blocks of memory, and perform operations on those blocks of memory. That's mostly it.

You forgot "to free those blocks of memory." It's OK. We C programmers often forget this. :)

Re:The "C is Efficient" Language Fallacy (2006) by qdog on Monday January 09, 2012 @12:09PM (#3443251)
Not to pick too many nits, but I didn't use free() or malloc() for about 7 years of my career in programming C.

Embedded systems sometimes still frown upon willy-nilly memory allocation ;)

Of course, days when your build breaks and it's because someone, somewhere defined a piece of data as 8 bits, but your latest build has shifted some stuff around and suddenly two memory definitions have become one because of memory alignment...was probably more painful to track down than free() issues.