4 ms·
>the driver - even a human one - is not expected to answer random questions as they are driving. In the same way, the C++ compiler was not expected to be able
by xamuel 7y ago
>the driver - even a human one - is not expected to answer random questions as they are driving.
In the same way, the C++ compiler was not expected to be able to emulate arbitrary programs (i.e. to be Turing complete), but some ingenious people found a way to use it to do just that. The way they did it was by writing some extremely unusual and edge-casey code, but you can't just wave that aside and say "C++ isn't really Turing complete, because the proof that it's Turing complete involves C++ code that nobody would really write!"