swift under freebsd?
mail at ozzmosis.com
Tue Jun 9 11:38:38 UTC 2015
On Tue 2015-06-09 12:55:19 UTC+0530, Mayuresh Kathe (mayuresh at kathe.in) wrote:
> hi, in case someone missed it, there's been an announcement that apple's
> swift will be open sourced soon.
> they are going pretty much full-out, even the libraries are going to get
> open sourced along with the compiler.
> in that case, would freebsd import support for swift within the base
> system in the near future?
I think it would only end up in the FreeBSD base system if a
particular program in base required it. However the general trend over
the years has been to remove dependencies from base (Perl, Ruby)
rather than add more.
ObjC support is in base more by coincidence, because clang is required
to build the base system in FreeBSD 10.0 and newer, and clang includes
ObjC support. clang will never build Swift apps, though.
Given that Swift is built on top of LLVM (which clang uses), it should
hopefully be fairly trivial to port to FreeBSD, and I'd expect it to
appear in the Ports tree sooner or later. But not in base.
More information about the freebsd-questions