Swift on Linux does not really need a separate standard Linux library as long as the Linux version of Foundation is up to speed. Apple can choose to open source their own implementation of Foundation (libobjc, libdispatch and libBlocksRuntime are already open source) or contribute code to an alternative implementation like Cocotron or GNUstep to bring that up to speed.
I use GNUstep heavily under Linux and their library coverage is pretty awesome. I have successfully ported several projects originally written in OS X to Linux with GNUstep with little to no code change - usually it is just a straight compile. > On Jun 14, 2015, at 06:53, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Jun 13, 2015, at 15:33 , Maxthon Chan <m...@maxchan.info > <mailto:m...@maxchan.info>> wrote: >> >> Swift is, technically, a dialect of Objective-C with some syntactic sugar >> and compile-time checks allowing some more advanced programming techniques. > > It’s not a dialect of Obj-C because it can express constructs that are not > representable in Obj-C. That is, the differences go beyond syntax. > >> how will Apple support Swift on Linux? > > If you compile Swift code without importing Foundation, then none of the > Obj-C runtime stuff is available. I’d imagine that Swift on Linux would be > about the same, although perhaps there will be a standard Linux library that > contains things that Linux programs normally use (e.g. standard I/O, which is > not in the Swift standard library). Or perhaps Apple will leave it to 3rd > parties to provide the standard Linux library support. > >
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com