News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by jkelleyrtp on Tuesday June 11, 2024 @05:33PM (#40651799)
I have a slight inkling that Apple internally is using Swift for backend stuff somewhere, especially with all the ML stuff they just shipped. Word on the street is their datacenters are full of M-series chips. I could see those servers running Swift + distributed actors + mlx.

The move to make swift run on Linux could be part of that work - their sysadmins, devops, and backend folks probably use Vim/VSCode and deploy on Linux.

We might see the release of a very good backend framework by apple for Swift that works on Mac/Linux.

The new macros they added kinda bolt on serde into the language too - and the distributed actor stuff is basically RPC in the language.

Re:Swift Static Linux SDK by MBCook on Tuesday June 11, 2024 @06:52PM (#40652596)
Apple deploys a ton of their server stuff on Linux. Plus they appear to be doing all new code in Swift and moving old code over slowly.

They’re also using embedded Swift in the Secure Enclaves and other small processors due to its safety, though I think they have an extra layer of automated security checking that they use internally that doesn’t exist in the public builds.

But in short, yes. I believe they’re trying to use Swift for everything at this point and getting away from C/C++/whatever even for kernel work.

Re:Swift Static Linux SDK by saagarjha on Sunday June 16, 2024 @09:48PM (#40701626)
Most server code Apple writes is Java. They are slowly trying out Swift, but it's not really correct to say that all new code is Swift.
Re:Swift Static Linux SDK by manmal on Tuesday June 11, 2024 @05:53PM (#40652032)
Yes their “private cloud” runs on Swift, which supposedly increases security because they believe Swift has things nailed by now.
Re:Swift Static Linux SDK by Klonoar on Tuesday June 11, 2024 @06:34PM (#40652433)
I believe it’s confirmed that they’re doing it with Swift, buried somewhere in the ML post IIRC.