Interview with InformIT part 2/3

Walter Bright newshound2 at digitalmars.com
Wed Aug 18 10:08:09 PDT 2010


bearophile wrote:
> Currently in the D2 GC there is no notion of pinned/unpinned class instances,
> but eventually an attribute as @pinned may be added to D3, plus its related
> semantics. It adds complexity to the language and it needs to interact with
> the GC, so it will get useful as the D GC becomes more modern (with different
> zones for newly allocated objects, etc).

There is no need for a pin attribute, the gc can determine if a class needs 
pinning or not.


More information about the Digitalmars-d-announce mailing list