Live data from Hacker News

Apple is open sourcing Swift Build

swift.org

1–10 of 300 posts

Re: Apple is open sourcing Swift Build

#3
post #2

Is Swift actually serious about embedded?

Of course! Tons of examples here: https://github.com/apple/swift-embedded-examples

At WWDC24, we shared a session on embedded Swift, which is available on YouTube: https://www.youtube.com/watch?v=LqxbsADqDI4

More documentation on embedded Swift tooling here: https://github.com/swiftlang/swift/blob/main/docs/EmbeddedSw...

(Disclosure: I work at Apple.)

Re: Apple is open sourcing Swift Build

#4
The goal for Swift should (and seems) to be to gradually separate itself from XCode, which is holding it back from its ambitions.

XCode has been compared to many things, but at 3.1 stars on the App store, one must find that it is still slightly overrated.

Re: Apple is open sourcing Swift Build

#5
post #2

Is Swift actually serious about embedded?

Yes, there was an entire WWDC ‘24 talk about it…

https://developer.apple.com/videos/play/wwdc2024/10197

Swift is a great language, but it is unfortunately still held back by the stigma of being perceived as only usable on Apple platforms.

Re: Apple is open sourcing Swift Build

#6
post #4

The goal for Swift should (and seems) to be to gradually separate itself from XCode, which is holding it back from its ambitions. XCode has been compared to many things, but at 3.1 stars on the App store, one must find that it is still slightly overrated.

Swift hasn’t required Xcode for several years now. It has robust command line tooling and a VSCode plugin.

https://www.swift.org/documentation/articles/getting-started...

Re: Apple is open sourcing Swift Build

#7
post #5
post #2

Is Swift actually serious about embedded?

Yes, there was an entire WWDC ‘24 talk about it… https://developer.apple.com/videos/play/wwdc2024/10197 Swift is a great language, but it is unfortunately still held back by the stigma of being perceived as only usable on Apple platforms.

And until packages are actually shipped for all mainstream distros, the stigma is completely accurate.

No, neither "just install a tarball" nor "just install this docker image" count.

Re: Apple is open sourcing Swift Build

#8
post #6
post #4

The goal for Swift should (and seems) to be to gradually separate itself from XCode, which is holding it back from its ambitions. XCode has been compared to many things, but at 3.1 stars on the App store, one must find that it is still slightly overrated.

Swift hasn’t required Xcode for several years now. It has robust command line tooling and a VSCode plugin. https://www.swift.org/documentation/articles/getting-started...

I believe it still does at least for iOS, or it did last time I checked (for a Swift library I was writing).

Re: Apple is open sourcing Swift Build

#9
Swift is a nice language. I'm glad to see it being released from the clutches of Apple. I can only imagine how large of a task this is. I hope some day to be able to use it. The last time I tried a cross-platform project with it I switched languages due to `URLSession.shared.data` (a network request) being unable to compile on Linux.

Re: Apple is open sourcing Swift Build

#10
post #7
post #5

Earlier quoted context omitted.

Yes, there was an entire WWDC ‘24 talk about it… https://developer.apple.com/videos/play/wwdc2024/10197 Swift is a great language, but it is unfortunately still held back by the stigma of being perceived as only usable on Apple platforms.

And until packages are actually shipped for all mainstream distros, the stigma is completely accurate. No, neither "just install a tarball" nor "just install this docker image" count.

Working on it: https://github.com/swiftlang/swiftly?tab=readme-ov-file
Post reply on HN