3 ms·
Not really atm. There is a small community around server-side-swift which did some impressive work so far, most interesting project is IMO the Vapor Framework [
by stiGGG 8y ago
Not really atm. There is a small community around server-side-swift which did some impressive work so far, most interesting project is IMO the Vapor Framework [1], but at least outside the Apple Dev community they didn’t get much attention so far.
For general system programming, which would be also possible with swift, Rust seems currently a lot more popular.
[1]: https://vapor.codes https://vapor.codes
- rudedogg 8y agoFor people not familiar, Vapor is close to releasing version 3.0, using https://github.com/apple/swift-nio https://github.com/apple/swift-nio. I've heard rumors that the performance is really good, but I haven't ran anything personally.
- IAmEveryone 8y agoSwift itself in incredibly fast, at least in microbenchmarks. I last looked at the numbers a year or so ago, but IIRC it was about as fast as C, which is several (as in 5-6) orders of magnitude faster than, say, python. In terms of "level of abstraction" vs "Speed", Swift is definitely at a Pareto-Optimum (if that's the term for "can't get better in one dimension without losing something in the other). Microbenchmarks aren't the be-all yada yada yada... And it's somewhat ironic that the server framework is named Vapor. But for web apps that are computation-heavy, I think it would be a valuable option to have.
- rudedogg 8y agoYeah, here are some old Vapor benchmarks for curious people: https://medium.com/@codevapor/server-side-swift-vs-the-other-guys-2-speed-ca65b2f79505 https://medium.com/@codevapor/server-side-swift-vs-the-other... I drop in on the Vapor Slack group occasionally. I heard someone mention that version 3.0 was passing Go in benchmarks. Apparently they had some performance regressions integrating nio (it was just released last month) - not sure what the status is now.
- deleted 8y ago[deleted]