Re:The Next Chapter in Swift Build Technologies
by TheNightman on Saturday February 01, 2025 @10:35PM
(#42905540)
Yeah I jumped into swift on Linux a while back having mostly used it on apple platforms and I couldn’t even tell anything was different. A few years ago I would’ve had to struggle with SwiftNIO but not nowadays. URLSession, Codable, etc. all there on Linux (not sure about Combine but Combine is stupid in the Swift 6 world IMO. Swift concurrency is better in almost every way).
Swift on Linux (except NixOS) is actually very good nowadays. There’s even a libadwaita library that feels a LOT like writing SwiftUI.
Feels like a lot of folks were turned off early on, found something else, and never bothered to try again (which is fair).
Re:The Next Chapter in Swift Build Technologies
by DidYaWipe on Sunday February 02, 2025 @03:04AM
(#42907016)
I also have a dim view of Combine and Swift's shitty observation regime, but what does its concurrency have to do with it?
Re:The Next Chapter in Swift Build Technologies
by easeout on Sunday February 02, 2025 @12:31PM
(#42910117)
Swift Concurrency as a feature set includes async/await and async for, which solve a large part of Combine's same problem with better safety and less setup/teardown. These days Combine is still useful, specifically for multiple observers and several cases of adapting to older event publishing sources.
Re:The Next Chapter in Swift Build Technologies
by DidYaWipe on Tuesday February 04, 2025 @02:41AM
(#42929338)
Combine is for setting up observers to changes, whereas Concurrency is for async operations. I don't see the relationship.
Re:The Next Chapter in Swift Build Technologies
by bluepizza on Saturday February 01, 2025 @10:57PM
(#42905666)
Which was not open source from the start?
Re:The Next Chapter in Swift Build Technologies
by easeout on Sunday February 02, 2025 @02:14AM
(#42906755)
Foundation wasn't made to be part of the Swift project until recently. 25 years ago it was the "foundation" of Cocoa, the Mac OS X API derived from NEXTSTEP. It was an Apple platform thing explicitly—now it is remade in Swift and is part of the Swift project.
https://github.com/swiftlang/swift-foundation