From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 10:11:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F374761 for ; Thu, 11 Jun 2015 10:11:10 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:c:538::198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60F8A15B7 for ; Thu, 11 Jun 2015 10:11:10 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from mfilter23-d.gandi.net (mfilter23-d.gandi.net [217.70.178.151]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 16A91FB9C6; Thu, 11 Jun 2015 12:11:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter23-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter23-d.gandi.net (mfilter23-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Lm0ES8kxnfOn; Thu, 11 Jun 2015 12:11:03 +0200 (CEST) X-Originating-IP: 10.58.1.146 Received: from webmail.gandi.net (unknown [10.58.1.146]) (Authenticated sender: mayuresh@kathe.in) by relay6-d.mail.gandi.net (Postfix) with ESMTPA id C7E37FB99B; Thu, 11 Jun 2015 12:11:02 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 11 Jun 2015 15:41:02 +0530 From: Mayuresh Kathe To: "Ardie H. Hwang" Cc: andrew clarke , freebsd-questions@freebsd.org Subject: Re: swift under freebsd? Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@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> Message-ID: X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 10:11:10 -0000 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 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.