5 ms·
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 oth
by grok2 7y 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!
- grok2 7y agoIt 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 :-).
- renox 7y agoZig is doing this, an interesting feature.
- 1980phipsi 7y agoYou might find Atila's project dpp interesting: https://github.com/atilaneves/dpp https://github.com/atilaneves/dpp