Ask HN: Anyone using Swift on the server-side?
What are the challenges and advantages?
What are the challenges and advantages?
Highly performant, It runs within docker container. Documentation is highly available.
Challenges: Getting more people to use it and collaborate with it.
SwiftUI has become more trendy, that other frameworks don't get wide relevance.
another library which brings more interesting projects is: CoreML On-Device ML training and inference
The first version used Vapor before we had async/await. That was painful at times but doable.
Earlier this year I got some time to rewrite it in modern Swift with async/await. It’s a total game changer. Almost as easy as writing in Python.
Maybe even easier than Python sometimes, because with Swift you have a decent type system watching your back. If it compiles, then you’re probably most of the way there.
I have preferred Lisp languages for the last 40 years, but there is something about Swift I like, probably the availability of great libraries like CoreML and good REPL support.
They use Vapor and seem to be doing alright.
Also key were these Docker images: https://github.com/wlisac/swift-on-balena
https://www.omnigroup.com/blog/under-the-hood-with-omnifocus...