Hacker News new | ask | show | jobs
by grok2 2433 days ago
But as a language doesn't betterC provides lots more useful features than C (the module system, meta-programming (imagine C with generics), scope() and many other useful things) that make it really a better language than C while still keeping C interop. I agree that it is in an awkward spot though -- and would have benefited from being it's own separate programming language. It would have been a killer feature if it could also compile standard C at the same time!
1 comments

It would have been a killer feature if in betterC mode it could compile standard C programs and be a drop-in replacement for GCC/Clang :-).
You might find Atila's project dpp interesting: https://github.com/atilaneves/dpp
Zig is doing this, an interesting feature.