News for hackers. Stuff that matters.
Re:C Legacy Is Evil by pstuart on Tuesday November 04, 2014 @10:25PM (#8560394)
Memory returned to the heap. It's recycled, right?
Re:C Legacy Is Evil by mamcx on Wednesday November 05, 2014 @09:07AM (#8561766)
Ah! I get it. Some If the program have 100 "cells" of memory, the first time it get blank, the second what was there before?

Clear the data is costly in the long run? I have read yesterday about data oriented design and it make me understand that now is costly to access memory.

Re:C Legacy Is Evil by pstuart on Friday November 07, 2014 @07:14PM (#8575382)
That's exactly it. If you're going to dump data into that memory that is guaranteed to overwrite whatever is already there, then there's no point in wasting cycles zeroing it first.