Re:The reference D compiler is now open source
by bachmeier on Friday April 07, 2017 @02:47PM
(#14062440)
The GC is only relevant if you allocate using the GC, because that is the only time the GC can run. If you use @nogc on your functions, you are guaranteed not to have GC allocations. You can use D as a better C with no GC but other good features. You can even avoid the D runtime compeletely if you want.
[ Parent
| on HN ]
Re:The reference D compiler is now open source
by brakmic on Friday April 07, 2017 @03:08PM
(#14062627)
Thanks for your helpful answer.
...and I don't understand why some people have downvoted my question. Anyway, I'll continue reading the docs :)
Re:The reference D compiler is now open source
by bachmeier on Friday April 07, 2017 @03:15PM
(#14062694)
I don't understand the downvotes either.
Anyway, the docs are not that great, so Mike Parker has started a blog post series about the GC.[1] If you have questions, drop them in the d.learn forum.[2] They're pretty friendly (most of the time).
[1] http://dlang.org/blog/2017/03/20/dont-fear-the-reaper/ [2] https://forum.dlang.org/group/learn
Re:The reference D compiler is now open source
by mixmastamyk on Friday April 07, 2017 @07:00PM
(#14064102)
Didn't downvote, but found "Please don't get me wrong, as I don't want to start a flame here, but…" redundant and slightly annoying. ;)