Re:The reference D compiler is now open source
by loeg on Friday April 07, 2017 @01:52PM
(#14061926)
Is the GC mandatory in D? I was under the impression some time ago that D could run GC-free, but the standard library still widely used GC. Did I just misunderstand?
[ Parent
| on HN ]
Re:The reference D compiler is now open source
by steveklabnik on Friday April 07, 2017 @01:59PM
(#14061994)
In my understanding, you're overall correct, but they've also been working on reducing that need, making more and more of it work without a GC.
Re:The reference D compiler is now open source
by WalterBright on Friday April 07, 2017 @02:17PM
(#14062184)
Currently working on making the Exception handling system usable without the GC. Expect it soon.
Re:The reference D compiler is now open source
by steveklabnik on Friday April 07, 2017 @02:22PM
(#14062227)
Great! (and, congrats on the re-licensing.)
Re:The reference D compiler is now open source
by mhh__ on Friday April 07, 2017 @05:00PM
(#14063468)
You can tag a block @nogc, if you just need to avoid it for a specific part of your program. This can be done with the whole program, but quite a lot of the standard library requires the GC.
I should point out that the GC has no problems that affect day to day usage, the stuff people complain about is when it's running for a while (it's conservative atm so it leaks).
Re:The reference D compiler is now open source
by loeg on Saturday April 08, 2017 @12:42PM
(#14067762)
If you can tag the entire program @nogc, great.