Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The garbage collection is an optional feature you can disable though

There's a lot of "@nogc" D code out there. Audio FX plugins that do realtime DSP and game/graphics stuff come to mind.

I'd rather have the language give me a choice because it's very convenient to have. You'd be surprised how performant even GC'ed code in D's can be.



> The garbage collection is an optional feature you can disable though

Not if you wish to use the standard library though right ?


Some of it is nogc compatible, some of it isn't

All functions in the stdlib that are nogc are marked "nogc" in their definition




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: