Re:Memory management in C programs
by dllthomas on Monday March 17, 2014 @01:04PM
(#7416362)
Yes. For most applications, malloc is fine and when you want to reduce mallocs (pushing them out of performance critical code) usually pushing stuff up the stack is the way to go. That said, in development where C is really the right answer, malloc being a bad choice (and/or entirely unavailable, as in some embedded work) is far more common than in other programming - I think it's still a minority, though.
[ Parent
| on HN ]
There are no comments on this comment yet.