Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 15:41:02 +0530
From:      Mayuresh Kathe <mayuresh@kathe.in>
To:        "Ardie H. Hwang" <iam@ardiefox.me>
Cc:        andrew clarke <mail@ozzmosis.com>, freebsd-questions@freebsd.org
Subject:   Re: swift under freebsd?
Message-ID:  <d78daafe51706df34902f35425a8d14b@kathe.in>
In-Reply-To: <13DC6BF2-F4D6-4EEC-9614-52068381A7FD@ardiefox.me>
References:  <0e0e0498667962e412d607e2f27274d0@kathe.in> <20150609113827.GA80013@ozzmosis.com> <20150611093306.GA44454@ozzmosis.com> <13DC6BF2-F4D6-4EEC-9614-52068381A7FD@ardiefox.me>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ardiefox.me
> mobile: +82-10-I-AM-ARDIE
> 
>> On Jun 11, 2015, at 18:33, andrew clarke <mail@ozzmosis.com> wrote:
>> 
>> On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d78daafe51706df34902f35425a8d14b>