Re:Better C – A subset of D Programming Language
by dgellow on Tuesday April 28, 2020 @06:33AM
(#23005578)
Do you know of use of “BetterC” in real-life (i.e: for non-pet projects)? It would be interesting to hear about some real use cases.
[ Parent
| on HN ]
Re:Better C – A subset of D Programming Language
by WalterBright on Tuesday April 28, 2020 @06:38AM
(#23005614)
I know several people like it and use it very much, but I haven't followed their projects. Many were skeptical of the BetterC project, but it has proven its worth.
I've used it myself to easily convert some of my older C programs to D and make them easier to maintain.
Re:Better C – A subset of D Programming Language
by skocznymroczny on Tuesday April 28, 2020 @06:50AM
(#23005686)
BetterC is interesting because it allows you to compile D to WASM. Unfortunately D runtime and GC haven't been ported to WASM yet so they are not fully supported.
Re:Better C – A subset of D Programming Language
by pjmlp on Tuesday April 28, 2020 @07:43AM
(#23006022)
It was recently discussed in the forums, it should be coming, the actual situation has delayed the development.
Re:Better C – A subset of D Programming Language
by p0nce on Tuesday April 28, 2020 @10:35AM
(#23007373)
We have 100kLOC of not -betterC but D without its runtime.
If you write a -betterC library normally you can use it with normal D, but the reverse isn't true.