Hacker News new | ask | show | jobs
by MuffinFlavored 1312 days ago
> The problem with the “big switch-case” approach is that C/C++ compilers simply cannot handle such code well.

Is this the case with Rust?

2 comments

Yes, it will run into the same register allocation and unstructured control flow issues.
Most likely, as the pathological behavior the article mentions is mostly around register allocation and Rust uses LLVM.