Re:Better C – A subset of D Programming Language
by schveiguy on Tuesday April 28, 2020 @01:37PM
(#23009551)
the betterC form of D does not use the GC (and the compiler will let you know).
Re:Better C – A subset of D Programming Language
by pjmlp on Tuesday April 28, 2020 @01:49PM
(#23009730)
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.
It basically follows on the school of thought at Xerox PARC, ETHZ, and Microsoft Research.
Now what it lacks is more more manpower to improve its runtime capabilities and having a big name actually pushing it forward.
However this doesn't need to be a zero sum game, any language that helps to fix C is welcomed to the party, including attempts like Checked C and Frama-C.