On Jun 13, 2015, at 15:33 , Maxthon Chan <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.




_______________________________________________

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

Reply via email to