6 ms·
what i am pondering is: is it easier in theory to port swift to freebsd rather than linux? the facts that macOs has shared history with freebsd tells me yes, th
by hazn 11mo ago
what i am pondering is: is it easier in theory to port swift to freebsd rather than linux? the facts that macOs has shared history with freebsd tells me yes, the fact that llvm favors linux (?) tells me both.
also, congrats, the swift and freebsd are ambitious in terms of new deployment platforms and compatibility! (see embedded swift, oci freebsd containers, freebsd on firecracker)
- rootnod3 11mo agoWhy would llvm favor linux? FreeBSD also officially moved from GCC to LLVM for the base system, so I don't see why LLVM wouldn't support it.
- rjsw 11mo agoI would say that LLVM is more important to FreeBSD than it is to Linux.
- hazn 11mo agoa good question, my line of thinking was: if llvm allows easy ports to freebsd, why is freebsd always a lower tier than linux in llvm based projects? weak reasoning, as it might just be a supply/demand and not a product quality question
- zapzupnz 11mo ago> is it easier in theory to port swift to freebsd rather than linux? the facts that macOs has shared history with freebsd tells me yes That shared history goes back a LONG way. The base components from FreeBSD that are in macOS are absolutely ancient. I think the most modern shared components are just the userland tools. So I don't think it would make much difference at all.
- Someone 11mo agoI don’t know whether you know, but there has been a Linux port for quite a while (https://www.swift.org/blog/swift-linux-port/ https://www.swift.org/blog/swift-linux-port/ is from December 2015). https://www.swift.org/install/linux/ https://www.swift.org/install/linux/ points to https://hub.docker.com/_/swift https://hub.docker.com/_/swift, which has images for Red Hat, Amazon Linux, maybe others.