H1 2015 - memory management
AndyC via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 4 13:51:53 PST 2015
The vision says "We aim to make the standard library usable in
its entirety without a garbage collector. Safe code should not
require the presence of a garbage collector"
I was just playing with std.json, and this part got me to
thinking. How will we parse a string into a json struct w/out
allocating memory?
And if I allocate memory w/out the GC, then is the caller
responsible to free it?
Things like string format and file read are gonna have to alloc
memory, yes? How will we make std.* usable w/out the GC?
-Andy
More information about the Digitalmars-d
mailing list