News for hackers. Stuff that matters.
Re:Better C – A subset of D Programming Language by pjmlp on Tuesday April 28, 2020 @07:32AM (#23005945)
D is a much better option for those that believe that it isn't a crime to have a GC on a systems programming language.

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.

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.

Re:Better C – A subset of D Programming Language by schveiguy on Tuesday April 28, 2020 @02:38PM (#23010290)
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.