▲ | blenderob 4 days ago | |
> 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. | ||
▲ | Pet_Ant 3 days ago | parent [-] | |
The amount of time being consumed by parsing is vanishingly small. It's a lot like the decoding time spent on x86 code is marginal nowadays compared to the speculative and reordering logic. YACC was called "Yet Another Compiler Compiler" because back in the day parsing was the bulk of compilation, now it's relatively minimal. |