5 ms·
This is from 2016 -- Swift and the toolchain has gotten dramatically faster since then, but this is a comparison of server-side swift frameworks with Rails/Lara
by briandear 9y ago
This is from 2016 -- Swift and the toolchain has gotten dramatically faster since then, but this is a comparison of server-side swift frameworks with Rails/Laravel/Spring/Nancy/etc: https://medium.com/@qutheory/server-side-swift-vs-the-other-guys-1-input-ec48d7be37b7 https://medium.com/@qutheory/server-side-swift-vs-the-other-...
...and part 2 here: https://medium.com/@qutheory/server-side-swift-vs-the-other-guys-2-speed-ca65b2f79505 https://medium.com/@qutheory/server-side-swift-vs-the-other-...
And here's summer 2017 benchmarking/comparing server side Swift frameworks vs. Node: https://medium.com/@rymcol/updated-benchmarks-for-the-top-server-side-swift-frameworks-vs-node-js-9da4a0491eca https://medium.com/@rymcol/updated-benchmarks-for-the-top-se...
Swift is a great language.
Hello World in Java:
public class HelloWorld {
public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}
}
Hello World in Swift:
print("Hello World")
Obviously Hello World is trivial, however that comparison is indicative of the elegance -- it has power similar to C with ease of use similar to scripting languages.
- apple4ever 9y agoSwift is a terrible language. While the Hello World example seems to show its simplicity, when you actually need to write useful code it’s the opposite of simple. Unnecessary things like var, func, and the terribly named let clutter up the code. Then there is the backwards variable decoration. Oh and the random use of punctuation which makes reading confusing. In the end, Swift is terrible. If you are developing on MacOS, stick with Objective-C. It’s a much better language.