Re:Metaprogramming is less fun in D
by loeg on Friday April 21, 2017 @11:42AM
(#14166540)
I've been told (in other threads on HN) that you can disable GC in D. I don't know how that integrates with stdlib (or other library) bits that use GC (are they disallowed, or do they fail at runtime?).
[ Parent
| on HN ]
You can't allocate with GC in @nogc functions, you will get compile time error. There is ongoing work in standard library (Phobos) to make it work without GC.
So if you @nogc main(), you're set? Thanks.