swift under freebsd?
Mayuresh Kathe
mayuresh at kathe.in
Thu Jun 11 10:11:10 UTC 2015
yeah, that compatibility situation probably won't occur in the case of
swift as apple has decided to also release their libraries in the open
(along with the compiler + 'repl').
the only problem i see is that the swift libraries might somehow be
dependent on cocoa's objective-c framework; in that case, things are
going to get extremely painful while importing support for swift under
freebsd, or for that matter any platform other than apple's.
~mayuresh
On 2015-06-11 15:08, Ardie H. Hwang wrote:
> One can use devel/gnustep port if needed; not 100% compatible with
> latest Cocoa framework, but is quite mature AFAIK.
>
> Also notable: http://cocotron.org/
>
> --
> Ardie H. Hwang
> ----------------
> email: iam at ardiefox.me
> mobile: +82-10-I-AM-ARDIE
>
>> On Jun 11, 2015, at 18:33, andrew clarke <mail at ozzmosis.com> wrote:
>>
>> On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail at ozzmosis.com)
>> 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.
>>
>> Actually on further investigation, while Clang might support the ObjC
>> syntax, none of the ObjC libraries are available in FreeBSD base.
More information about the freebsd-questions
mailing list