Oh God, they just compared the speed of Objective C, Swift and... Python! It's nice to see Swift being faster than Objective C, etc., but what has Python got to do with coding native iOS/OS X apps? Of course it's going to fail at speed when compared to a static compiled language. What a weird and pointless comparison, imo (I mean the inclusion of Python, seems so random to me).
It's neither weird nor pointless. They're going for something that is as comfortable to work with as modern dynamic languages, for something that eschews the cruft of ObjC. Python is simply a very popular representative for this type of language. Of course, it's an easy target. But I can see why they went for it.
The Swift Programming Language
91–100 of 970 posts
Re: The Swift Programming Language
#92Re: The Swift Programming Language
#93Edit: The latest version of OS X does support iBooks. Lets hope you have that.
Re: The Swift Programming Language
#94Oh God, they just compared the speed of Objective C, Swift and... Python! It's nice to see Swift being faster than Objective C, etc., but what has Python got to do with coding native iOS/OS X apps? Of course it's going to fail at speed when compared to a static compiled language. What a weird and pointless comparison, imo (I mean the inclusion of Python, seems so random to me).
Re: The Swift Programming Language
#95For example:
var apples = 3; // mutable
let oranges = 5; // immutable
let summary = "I have \(apples) apples and \(oranges) oranges";
Re: The Swift Programming Language
#96Maybe I'll pickup iOS dev, do you still have to have an mac to dev?
Re: The Swift Programming Language
#97Re: The Swift Programming Language
#98Ugh, none of the links work. :( Can't get the ibook, can't view the "guides and reference", can't download xcode 6 beta.
Re: The Swift Programming Language
#99Looks like they pulled a Golang: http://swift-lang.org
EDIT: Nevermind, my mistake. I thought the comment was about Apple was making their own language like Google did with Go, not Go! already existing as a language