Hacker News new | ask | show | jobs
by schveiguy 2241 days ago
the betterC form of D does not use the GC (and the compiler will let you know).
1 comments

I used to be a regular on D forums. :)

Yes, betterC does not use the GC, but I was speaking about the whole language, and many anti-GC folks eventually discover that they can stick to regular D and still deliver what they were trying to do.

You can imagine an OS written in D, where BetterC mode gets used in the layers that for whatever reason cannot afford a GC, while all the remaning layers can happily take advantage of it.

Agreed. I've never felt the need to use betterC. The biggest use case I think is writing modules/libraries for other languages to use.