Re: Language options: Objective-C, Swift, C or C++?
Re: Language options: Objective-C, Swift, C or C++?
- Subject: Re: Language options: Objective-C, Swift, C or C++?
- From: Quincey Morris <email@hidden>
- Date: Sat, 13 Jun 2015 22:53:33 +0000
On Jun 13, 2015, at 15:33 , Maxthon Chan <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden