Hacker News new | ask | show | jobs
by rcgorton 2224 days ago
A one pass compiler is going to generate code which is slower than a modern JIT/interpreter. Why is a one pass compiler interesting?
2 comments

Because they're really fast. Actually, the lower tiers of modern JITs actually need speed, so being able to do code generation in one pass there is a huge boon.
How so?

Say, F# compiler is close to single-pass, I believe, producing CIL, which goes to JIT/AOT compiler later