3 ms·
Go's compiler emits naive code quickly. For example, parameters are always passed on the stack. Swift is built atop LLVM, and it emits code more slowly, but su
by ridiculous_fish 10y ago
Go's compiler emits naive code quickly. For example, parameters are always passed on the stack.
Swift is built atop LLVM, and it emits code more slowly, but supports many optimizations like hoisting, vectorization, etc. that Go does not currently perform.