News for hackers. Stuff that matters.
Re:Calloc or Malloc? Any thoughts? by akv on Wednesday August 13, 2008 @11:50AM (#275076)
neither.. try using a language does dynamic memory allocation and garbage collection... it would save you a lot of headache...
Re:Calloc or Malloc? Any thoughts? by qwph on Wednesday August 13, 2008 @01:36PM (#275190)
...unless you're writing code for an embedded system which has (say) 16K of RAM and a 1MHz processor, in which case that will cause you more problems than it solves.
Re:Calloc or Malloc? Any thoughts? by yan on Wednesday August 13, 2008 @02:43PM (#275273)
But what about when you are adding features or fixing bugs in the gigantic base of code written in C?

Or what if you consider C your lingua-franca and find it no less difficult to write a throw away app in C over other languages.

Or if you have to interface very closely to your operating system without writing hairy wrapperes.

Or, or, or ...