Comment by kstrauser
3 hours ago
Counterpoint: you could write a C++ compiler in a non-C/C++ language such that the compiler’s implementation language doesn’t even have the notion of C++20.
A compiler is perfectly capable of compiling programs which use features that its own source does not.
That's not a counterpoint—at least not to anything in the comment that you're (nominally) "responding" to.
So why has it been posted it as a reply, and why label it a counterpoint?
Read them again a couple more times and it may become clear.
The prior post seemed to be claiming that this required any form of a bootstrapping process, when it does not.
You have lost the plot, and you are wrong.
This particular compiler does require bootstrapping, and that's obviously what "the compiler" is referring to in that comment.
Building your compiler in another language doesn't help at all. In fact, it just makes it worse. Dogfooding C++20 in your compiler that isn't even built in C++ is obviously impossible.
2 replies →