Very basic HTTP implementation in Swift
github.com
github.com
It is therefore already vastly superior to any and all full web server and application server solutions and defines how servers will be written in the future.
Particularly, all the web server solutions written in Objective-C have ceased to exist.
Tooling support isn't there for Linux currently, so the act of writing code isn't much better than Python (no Xcode-type autocompletion), but once you want to run it, the compiler will scream at you if you pass ducks where penguins are expected - while still allowing you to reason about swimming birds in general.
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif
Feels a bit nasty.Libraries on Linux and OS X just are different. Maybe when core libraries [0] will be fully finished we could just use `import Foundation` on both platforms.
https://github.com/breckinloggins/Swell
It could be used as an example. In particular, the "builder" syntax that I did with a terrible TLS context hack could be replaced with autoclosures (I think).
Edit: more Sinatra-like than Express-like, but the idea still stands.
So I think Swift is good for something what can run few minutes and be restarted easily in case of failure - mobile and desktop apps. Not web server daemons.