Encouraging memory efficiency

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 09:44:27 PDT 2014


Kapps:

> In theory there would probably be an allocator that uses alloca
> when Andrei's std.allocator makes it in.

How is it going to work?


> Also, there used to be a built in syntax, 'scope foo = new 
> Foo()' that would allocate on the stack, but that's deprecated 
> now

Perhaps once the "scope" (and memory lifetimes) is fleshed out, 
it will be un-deprecated :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list