manual memory management

Jonathan M Davis jmdavisProg at gmx.com
Wed Jan 9 03:23:33 PST 2013


On Wednesday, January 09, 2013 12:16:46 Mehrdad wrote:
> My entire point during this discussion has been that you _don't_
> _require_ a GC for anything, unlike what Walter said. Manual
> (/automatic/whatever you want to call it) memory management can
> take its place just fine.

Walter wasn't arguing that there wasn't a place for manual memory management. 
He was arguing that you can't guarantee memory safety if you're using manual 
memory management - hence why malloc and free are @system. @system code is not 
memory safe like @safe code is, but it still very much has it's place.

- Jonathan M Davis


More information about the Digitalmars-d mailing list