News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by manmal on Tuesday June 11, 2024 @05:06PM (#40651485)
A Swift program for a particular distribution will dynamically link some system libraries from the distro, and these libs might change on every distro update. They mention in the post that dynamic linking can cause versioning issues.

> Say my Linux distribution distributes some Swift runtime

That runtime would need to be compatible with the Swift program. Nowadays that’s not a big issue due to ABI stability (https://www.swift.org/blog/abi-stability-and-apple/), but this would close the door on new features that need runtime support (need an OS update then, or the OS must come with multiple runtimes).

Re:Swift Static Linux SDK by Longhanks on Wednesday June 12, 2024 @04:02PM (#40662420)
AFAIK they claim ABI stability only for Apple platforms, explicitly neither Linux, nor Windows. Has that changed?
Re:Swift Static Linux SDK by BodkinsOdds on Saturday June 15, 2024 @01:38PM (#40691245)
Nope. For the foreseeable future, stable ABI on other platforms is basically only going to happen if a distro starts supporting an ABI stable standard library on their own.