logoalt Hacker News

wolvoleotoday at 12:24 AM2 repliesview on HN

Why would you bother using Swift if you're not targeting Apple? I can imagine wanting to use it for something cross-platform that is primarily an ios/macos thing.

But if you don't want to include those I wouldn't pick a language that's under control of a company I don't use.

It's a bit like using c# or powershell on Linux. Yes it can be done and it's helpful for cross platform with windows but I wouldn't consider it a first class citizen.


Replies

latexrtoday at 12:49 AM

> Why would you bother using Swift if you're not targeting Apple?

For the reasons stated in the article.

behnamohtoday at 12:36 AM

> I wouldn't pick a language that's under control of a company

Hmm...

TypeScript: Microsoft

Rust: Mozilla

Go: Google

Java: Oracle

By your logic we should be programming in Common Lisp.

==========

Edit:

    - Rust: Mozilla
    + Rust: Rust Foundation
show 4 replies