2 ms·
Kotlinc takes 10 seconds to compile Hello World, 30 seconds with wasm target. Seems almost conceptually unfixable.
by singularity2001 7y ago
Kotlinc takes 10 seconds to compile Hello World, 30 seconds with wasm target. Seems almost conceptually unfixable.
- pjmlp 7y agoswiftc isn't also not that blazing fast. For me Delphi, .NET Native, D are some of the targets to beat in compilation time. They all share a common trait though, not built on top of LLVM.
- skohan 7y agoI would say Rust is a better point of comparison for Swift given the emphasis both languages have on strong type systems and static analysis. Neither one is super fast, but 10 seconds for a hello world is insanely slow.
- pjmlp 7y agoAnd both are slowed down by LLVM. F#, Standard ML, OCaml and Haskell also have such strong type systems.