|
|
|
|
|
by inkyoto
21 days ago
|
|
It is not clear whether you are comparing it specifically to C, but single pass C compilers have certainly existed, including the ones that fuse the C preprocessor with the compiler itself. Disabling optimisation, can also boost the compilation speed although it won't be as fast. If, however, the comparison is against more modern languages, such as Rust, Swift, Haskell, ML etc, the actual compute effort goes into type inference, not the multi-stage compilation process, as proving type correctness is a computationally hard problem. |
|