Hacker News new | ask | show | jobs
by Perignon 3392 days ago
Why? Why choose Swift over a language with an established framework ala python, ruby, ASP.NET, Node.js ?
5 comments

Agreed, every languages do established and growth into a mature language. Swift was born and constantly learns every languages for the last 30 years of pros and cons including Rust, Go and Ruby.

Swift is built on LLVM (Compiler designer) and CLang which both are developed by the same group but they do not forget children who can learns Swift from young age for robotics, electronics, 3D and many things could be done with Swift.

More is need to be done on tooling before Swift will be on par as Java and C ecosystem.

In the same analogy, why choose Tesla or electric powered vehicles when other car manufacturers are established? Keep learning and improve it.

Well, neither Python and Ruby (prior to 2005-6) nor Node.js (prior to 2010-11) had any "established frameworks".

With this logic we'd still all be using CGI scripts.

Besides, Swift is several times faster CPU wise, type safe, and modern...

Speed, types, etc.
Python, Ruby, maybe.

Node.JS with Typescript or ASP.NET with C#/F#... I doubt it :)

Compiled langs are usually somewhat faster than node also, see golang, etc.
For now, i wouldn't. But swift is both a fantastic language, with enough felixibility to code generic code, and type safety to provide the best reliability ( no other language i know makes it that easy writing null pointer exception safe code), and one of the fastest( much faster than python or rails).
Mainly because you are already writing your MacOS or iOS app in Swift anyway and might even be able to re-use some code. If you aren't, no real reason for now to be honest.