▲ | vkazanov 4 days ago | |||||||
FYI: Parsing and compiling in the programming language sense are orthogonal problems. Both are major challenges in cpp compilers. | ||||||||
▲ | thaumasiotes 4 days ago | parent | next [-] | |||||||
What I've read is that C++'s biggest compiling problem is specifically that the language is difficult to parse. You can't compile without parsing, so no, they're not orthogonal problems. Compiling is a parsing step followed by an emission step. (And just to be completely clear, I'm not saying that the difficulty of parsing C++ makes it miserable to write a compiler. I'm saying that the difficulty of parsing C++ makes it miserable to run a compiler.) | ||||||||
▲ | blenderob 4 days ago | parent | prev [-] | |||||||
> FYI: Parsing and compiling in the programming language sense are orthogonal problems. How so? In Ada, Fortran, C, C++, Java, Python, etc. parsing is one of the many phases of compiling. Far from being orthogonal problems, parsing is a sub-problem of compiling. | ||||||||
|