News for hackers. Stuff that matters.
Re:Swift on FreeBSD Preview by DeathArrow on Thursday November 06, 2025 @02:17PM (#45839110)
What can you build with Swift on FreeBSD which isn't easier with other languages?
Re:Swift on FreeBSD Preview by bhokbah on Thursday November 06, 2025 @03:51PM (#45840271)
Everything will be easier to build with Swift on FreeBSD for a Swift developer compared to any other language
Re:Swift on FreeBSD Preview by jhatemyjob on Thursday November 06, 2025 @03:23PM (#45839940)
Software that is meant to run on Apple platforms.
Re:Swift on FreeBSD Preview by frizlab on Thursday November 06, 2025 @03:57PM (#45840327)
absolutely not
Re:Swift on FreeBSD Preview by zapzupnz on Thursday November 06, 2025 @05:59PM (#45841567)
Swift on Apple and Swift on literally-everything-else are very different stories at the moment.
Re:Swift on FreeBSD Preview by frizlab on Friday November 07, 2025 @04:35AM (#45844869)
Not that different anymore, except Apple-proprietary frameworks (e.g. SwiftUI) are not available outside of Apple platforms.
Re:Swift on FreeBSD Preview by zapzupnz on Friday November 07, 2025 @05:41AM (#45845185)
This isn't to dispute your assertion, but I think things are still quite a bit different. A lot of things provided by Foundation on macOS are still not available in Linux's Foundation, nor CoreFoundation, so one has to defer to something like Glibc — which, then again, is not available to the static Linux distro. On Windows, it's useful to use WinSDK to do things that Foundation would normally do.

There's all sorts of little things that Swift on non-Apple platforms just don't have yet. Little footguns because the Swift rewrite of Foundation isn't quite equivalent yet.

Re:Swift on FreeBSD Preview by frizlab on Friday November 07, 2025 @07:50AM (#45845834)
It is getting close though, which was my point. Honestly I got bit recently by DateComponentFormatter that does not exists on Linux, but it’s been a while since I’ve had things like that. We even have (NS)AttributedStrings (including the NS version, which I did not expect…). Of course no fonts and co, but that’s AppKit/UIKit/SwiftUI, so it’s normal.
Re:Swift on FreeBSD Preview by jhatemyjob on Tuesday November 18, 2025 @02:24PM (#45970769)
I'd bet a million dollars that it won't just be for the moment, but for all time