Re:Lightweight API Design in Swift
by singularity2001 on Tuesday November 26, 2019 @05:59AM
(#21637198)
Kotlinc takes 10 seconds to compile Hello World, 30 seconds with wasm target. Seems almost conceptually unfixable.
[ Parent
| on HN ]
swiftc 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.
I 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.