• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Language options: Objective-C, Swift, C or C++?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Language options: Objective-C, Swift, C or C++? (From: Roland King <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Carl Hoefs <email@hidden>)
 >Re: Language options: Objective-C, Swift, C or C++? (From: Roland King <email@hidden>)

  • Prev by Date: Re: Integrating C++ into Swift
  • Next by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Previous by thread: Re: Language options: Objective-C, Swift, C or C++?
  • Next by thread: Re: Language options: Objective-C, Swift, C or C++?
  • Index(es):
    • Date
    • Thread