swift-response
swift-response copied to clipboard
Not a good comparison
Swift web framework except Vapor are using Node HTTP which make sense to compare with Node.js, why would Go be faster than Swift web framework if Swift 3.1 is proven to be faster than Go 1.8 in some benchmark?
At least, you're not using any web frameworks. Perhaps, Rust is your best choice if you need performance, it outperform all Go, mostly less memory and CPU usage. Thanks to LLVM and it will get interesting in Swift and Rust in the future. https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=rust&lang2=go
Rust is still synchronous no? In the end go spawn thread only when needed not like rust or swift which use thread pools.