gdc in Linux distros recommended?

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 19 23:35:35 PDT 2016


Am Wed, 19 Oct 2016 19:25:39 +0000
schrieb TheGag96 <thegag96 at gmail.com>:

> On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote:
> > On the other hand LDC subjectively offers a couple more D 
> > specific enhancements, like turning GC allocations into stack 
> > allocations in trivial cases  
> 
> Whoa, seriously? I know it's a bit off-topic, but do you have a 
> code example of where this would happen? That's amazing!
 
Sorry, I don't have a concrete example. David Nadlinger keeps
emphasizing that the escape analysis is extremely simple. Try
a function with only "auto test = new Object;" in it and
extend from there using the "-vgc" switch to see when it
starts to fail.

-- 
Marco



More information about the Digitalmars-d mailing list