DIP60: @nogc attribute
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 16 10:28:11 PDT 2014
On 4/16/2014 2:03 AM, JN wrote:
> I'd have to agree. I doubt @nogc will change anything, people will just start
> complaining about limitations of @nogc (no array concat, having to use own
> libraries which may be incompatible with phobos). The complaints mostly come
> from the fact that D wants to offer a choice, in other languages people just
> accept what they have. You don't see C# developers complaining much about having
> to use GC, or C++ programmers all over the world asking for GC. Well, most of
> the new games (Unity3D) are done in C# nowadays and people live with it even
> though game development is one of the biggest C++ loving and GC hating crowd
> there is.
We have to try. Especially since @nogc is a low risk thing - it doesn't break
anything, and is a fairly simple addition to the compiler.
> Another issue is the quality of D garbage collector, but adding alternative
> memory management ways doesn't help, fragmenting the codebase.
No improvement to the GC is acceptable to people who want to manually manage
memory. That much is quite clear.
More information about the Digitalmars-d
mailing list