May 16, 2002 Re: Arrays of Class References | ||||
---|---|---|---|---|
| ||||
Posted in reply to OddesE | "OddesE" <OddesE_XYZ@hotmail.com> wrote in message news:ab6925$272k$1@digitaldaemon.com... > Walter are structs also garbage collected and > 'reference-counted' as it were, or are they > allocated on the stack? structs are gc'd if they are allocated with new, and they are on the stack if they are declared there. You can allocate them with c.stdlib.malloc if you want <g>. |
May 16, 2002 Re: Arrays of Class References | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russ Lewis | "Russ Lewis" <spamhole-2001-07-16@deming-os.org> wrote in message news:3CD6B5B4.AC9EDA1C@deming-os.org... > I was looking for both, frankly :) Syntax sugar is nice...more efficient GC > is nice, too. Neither are horribly important to me. D also supports using alloca(), which is something I use a lot. |
Copyright © 1999-2021 by the D Language Foundation