4 ms·
It is sad that this language is almost useless for anything else than osx/ios apps.
by mathverse 4y ago
It is sad that this language is almost useless for anything else than osx/ios apps.
- Toutouxc 4y agoIs it, really? I mean, it's Turing-complete, nice to use, quite fast... I don't see a reason not to reach for Swift if I want to do some reasonably generic data crunching (instead of say, Java, C++, Crystal or similar languages).
- robertlagrant 4y agoFinally, a Turing-complete language!
- gh123man 4y agohttps://vapor.codes/ https://vapor.codes/ brings Swift to the server and it's quite good! Wrap that in docker and you can be running Swift anywhere pretty quickly.
- cvwright 4y agoAnd with async/await, server side Swift is really nice now. The old stuff with eventloops and SwiftNIO was painful. Now it feels almost like writing Python, only with a real type system and not slow.
- qaq 4y agoHas Vapor fully shifted to async/await ?
- hot_gril 4y agoI stopped using Swift before version 5, and async/await was always something I missed there and a big reason I liked Javascript. I can't believe how much developer time was wasted on promises and callbacks in so many languages. Good that Swift has async/await now.
- pjmlp 4y agoMany developers are more than happy living in a pure Apple ecosystem, it is a big enough crowd.
- norman784 4y agoI used swift till 2.x, and it’s really sad that Apple missed the opportunity and didn’t wanted to promote swift outside their ecosystem, if they did that, for sure swift will be up there competing with nodejs, rails, go, rust, etc in the backend space, it was really new refreshing language. Because I stopped using it, I don’t know how much the language changed and how it compares with go/rust in terms of performance, I would bet that it is bear go performance at least, knowing Apple seems to care about it.