8 ms·
Not really no, there are far better languages with better cross platform support.
by righthand 2y ago
Not really no, there are far better languages with better cross platform support.
- josephg 2y agoWhich languages do you think are both better and have better cross platform support?
- boffinAudio 2y agoLua, I would say. Far easier to get it everywhere, and a very nice language, also.
- josephg 2y agoLua is nice, but it’s a bit of a weird comparison for Swift. Swift is compiled and lua is interpreted. Swift is statically typed. Swift uses ref counting to Lua’s runtime GC. And Swift has non nullable types by default, classes, enums, ADTs, match expressions and so on. Lua is nice. But it’s chalk and cheese comparing the languages. I can’t think of many cases where you’re trying to decide between lua and Swift.
- boffinAudio 2y agoIn this case, the question is whether to use Swift for a backend server on a Linux machine, or something else. That's the environment. I'd prefer Lua, simply because its a very proven language for that application. Sure, Swift has sexy features that make it appealing to developers. But the ecosystem for server infrastructure on Lua is formidable.
- Tainnor 2y agoKotlin
- sureglymop 2y agoI agree. Honestly a really nice and productive language.
- criddell 2y agoOut of curiosity, which language works best for you and your use case?
- righthand 2y agoCPP
- petereddy 2y agoThere are definitely languages with better cross platform support. But far better languages? I think Swift is a pretty good language and I like to know what you think is far better than it.
- pzo 2y agomaybe not far better as a language but on the same league but with far better cross-platform ecosystem that would be kotlin (native) or java (this days). You have great ecosystem for e.g. backend (Spring Boot) and modern java is also looking better every year.