News for hackers. Stuff that matters.
Re:The "C is Efficient" Language Fallacy (2006) by wvenable on Monday January 09, 2012 @12:39PM (#3443409)
> C lets you allocate blocks of memory

It doesn't even let you do that -- those things are external library calls.

Re:The "C is Efficient" Language Fallacy (2006) by danieldk on Monday January 09, 2012 @02:42PM (#3443925)
The C99 standard specifies that the stdlib.h header should be provided with amongst other things malloc()/free(). So, C99 provides heap allocation functions.

Also, some people will argue that 'asking' an array on the stack is also allocation ;).

Re:The "C is Efficient" Language Fallacy (2006) by derleth on Monday January 09, 2012 @05:59PM (#3444728)
They're standardized, so they are part of the language.

They don't have special syntax, but, then, neither does practically anything you do in Common Lisp, and that's standardized as well.

Re:The "C is Efficient" Language Fallacy (2006) by stcredzero on Monday January 09, 2012 @07:16PM (#3445002)
They're standardized, so they are part of the language.

"Language" has slightly different meanings in different contexts. Perhaps he's talking about something in a theoretic context, as opposed to practice? Smalltalk has no special syntax for allocation (creating new objects) either.

Re:The "C is Efficient" Language Fallacy (2006) by derleth on Tuesday January 10, 2012 @08:55AM (#3446925)
> Perhaps he's talking about something in a theoretic context, as opposed to practice?

Then he's still wrong. A standardized part of the language is a part of the language.