Hacker News new | ask | show | jobs
by rav 3843 days ago
Considering that a considerably large subset of C is valid C++, it should be easy to modify 8cc to be valid C++ (e.g. by replacing implicit void*-casts to explicit ones), and then you already have a "self-hosting C++ compiler", but that could be considered cheating by some...
1 comments

Except it won't compile anything but "C++" htat's really C code.