▲ | heliophobicdude 15 hours ago | |
It's a great language for Application-level software on a single platform (could be Linux). It has some challenges that it needs to solve to do great as a cross platform "general-purpose" programming language. It's paradoxically high level with its syntax and ergonomics but is tied down to the same cross platform headaches like in low level languages (e.g. cpp). Linking across cross platforms requires lots of careful thought and testing. Unlike cpp, it's not super portable. It requires a hefty 30 MB runtime for some features of the language to work. Try static executable hello world. That being said, it's possible. You can build cross platform applications with Swift, but you'd still have some of the same kinds of portability issues like in cpp but with nicer syntax and ergonomics. |