Re:C/C++ vs. Rust Performance
by tijsvd on Sunday November 01, 2020 @01:58PM
(#24961601)
Just write your parser as a collection of functions that can use tail calls. You should end up with a similar structure, i.e. a block of code with jumps instead of calls.
Even in C++ I'd prefer that over a goto-based system (unless generated).
Even in C++ I'd prefer that over a goto-based system (unless generated).