News for hackers. Stuff that matters.
Re:Swift Ownership Manifesto by wahnfrieden on Tuesday June 06, 2023 @06:53PM (#36220213)
What? Huh?

You forgot Windows, Linux, WASM in browser, WASI envs

Re:Swift Ownership Manifesto by heavyset_go on Tuesday June 06, 2023 @07:11PM (#36220386)
Swift is next to useless on any platform other than Apple's.
Re:Swift Ownership Manifesto by wahnfrieden on Tuesday June 06, 2023 @07:27PM (#36220531)
That's your uninformed opinion
Re:Swift Ownership Manifesto by Larrikin on Tuesday June 06, 2023 @07:42PM (#36220681)
Swift is most comparable to Kotlin in the current crop of languages and the Kotlin team is doing their best to get multiplatform, backend, KotlinJS, and native everywhere. Kotlin dominates Android obviously, but is growing quickly on the backend. The other implementations are still early but they continue to be improved.

I don't see Swift anywhere outside of Apple and don't see why anyone would reach for it instead of Kotlin.

It also doesn't help that JetBrains has an IDE that makes development in the language so nice people are willing to pay for it and Xcode easily is the worst user experience of any current product developed by Apple.

Re:Swift Ownership Manifesto by lockhouse on Tuesday June 06, 2023 @07:53PM (#36220779)
I see people claim this frequently that Kotlin is used a lot on the backend, but there’s very little evidence that this is true.

I absolutely will concede that Swift is in practice an Apple only language, but I feel Kotlin is essentially an Android only language in practice as well.

Re:Swift Ownership Manifesto by jitl on Tuesday June 06, 2023 @08:36PM (#36221150)
We had a bunch of Kotlin on the server at Airbnb in 2018.
Re:Swift Ownership Manifesto by tadfisher on Tuesday June 06, 2023 @11:20PM (#36222454)
Nope, Kotlin is plenty popular on backend, so much so it's mundane to see it in popular frameworks like Spring and Play. It helps that it's designed to coexist with Java.
Re:Swift Ownership Manifesto by pjmlp on Wednesday June 07, 2023 @04:14AM (#36224265)
It is almost meaningless, about 10% if at all.
Re:Swift Ownership Manifesto by winrid on Wednesday June 07, 2023 @12:18AM (#36222766)
DoorDash moved their python backend to kotlin afaik
Re:Swift Ownership Manifesto by heavyset_go on Tuesday June 06, 2023 @08:54PM (#36221321)
It's my experience as someone who wants to use Swift on something other than macOS/iOS.
Re:Swift Ownership Manifesto by cdcarter on Tuesday June 06, 2023 @11:44PM (#36222578)
About a year ago, Swift on linux was a bit of a minefield. Only parts of Foundation were implemented, and you couldn't use the Linux toolkit on a Mac to cross-compile or even just link against the Linux version of Foundation. The recentish move to reimplement Foundation in Swift natively is a big win, and I haven't tracked how close that project is.
Re:Swift Ownership Manifesto by girvo on Wednesday June 07, 2023 @12:56AM (#36223003)
> and I haven't tracked how close that project is.

It's a while away yet. Exciting prospect though!

Re:Swift Ownership Manifesto by danpalmer on Wednesday June 07, 2023 @06:41AM (#36225148)
Swift on the server is really quite well supported now. Frameworks like Vapor work fully, there's a thriving ecosystem. And above all, Apple clearly wants this to work. Apple aren't deploying macOS servers for their backend services.