Re: H1 2015 - memory management

2015-02-04 Thread Andrei Alexandrescu via Digitalmars-d
On 2/4/15 1:51 PM, AndyC wrote: How will we parse a string into a json struct w/out allocating memory? It will allocate, but without creating garbage. Reference counted strings are the answer. -- Andrei

H1 2015 - memory management

2015-02-04 Thread AndyC via Digitalmars-d
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

Re: H1 2015 - memory management

2015-02-04 Thread Jonathan Marler via Digitalmars-d
On Wednesday, 4 February 2015 at 21:51:55 UTC, AndyC wrote: 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