3 ms·
Does this also work for C?
by pantalaimon 4y ago
Does this also work for C?
- Zenity 4y agoYes, with some minor limitations as it receives much less testing. I was using 10x with The Machinery (RIP) for some time and the developer was super responsive fixing any C-specific issues (and even added some TM specific features when I asked nicely). If more people start using it for C and report any issues found, it should get even better. I would say it may even be better suited for C to some extent since that is a much simpler language with less chances for the parser to get confused by some obscure corner case. C++ really is the worst case scenario for a parsing engine, so once it works reliably for that, support for other languages should also become much more feasible.
- scombridae 4y agoIt's hard to imagine a C programmer so professionally ignorant that he's yet to realize C++ is a superset of C.
- anthk 4y agoIronically your comment it's the ignorant one. Try compiling a large C codebase with g++.
- stan680 4y agolots of good examples of why this is wrong here: https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.html https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.h...
- deleted 4y ago[deleted]
- lowbloodsugar 4y ago>It's hard to imagine a C programmer so professionally ignorant that he's yet to realize C++ is a superset of C. Ooof. restrict keyword enters the chat. C and C++ are two languages that evolve together, but one is not a superset of the other.
- MobiusHorizons 4y agoI see this comment a lot, but it's not true (at least not any more). Many valid C programs do not compile through the C++ compiler. The standards for C++ and C have deviated over the years.