4 ms·
What can you build with Swift on FreeBSD which isn't easier with other languages?
by DeathArrow 1y ago
What can you build with Swift on FreeBSD which isn't easier with other languages?
- jhatemyjob 1y agoSoftware that is meant to run on Apple platforms.
- frizlab 1y agoabsolutely not
- zapzupnz 1y agoSwift on Apple and Swift on literally-everything-else are very different stories at the moment.
- frizlab 1y agoNot that different anymore, except Apple-proprietary frameworks (e.g. SwiftUI) are not available outside of Apple platforms.
- zapzupnz 1y agoThis 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.
- frizlab 1y agoIt 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.
- jhatemyjob 1y agoI'd bet a million dollars that it won't just be for the moment, but for all time
- bhokbah 1y agoEverything will be easier to build with Swift on FreeBSD for a Swift developer compared to any other language
- deleted 1y ago[deleted]