Apple today announced a new programming language called Swift at WWDC, which will replace Objective C as the language developers use for building iOS and OS X apps.
Craig Federighi announced the new language on stage saying, “We’ve used Objective-C for years, and we love it. But we wondered what we could do without the baggage of C.”
Federighi confirmed that Swift code and C can live in the same app together, too, so developers can upgrade their code as they go, rather than replacing it in one go.
There are a number of changes from Objective C, some of which are detailed in the slides below, but Apple demoed just how much less code developers will need to write to get Swift applications up and running.
The company says that Swift apps are significantly faster than Objective-C apps, outperforming them by over .
Apple said that Swift applications can be submitted to the App Store from day one. When Apple announced Swift at WWDC, it got the largest cheer out of the developer audience than any other single feature.
Apple has published an eBook on Swift, which can be downloaded for free, here.
Read : Everything Apple Announced at WWDC
What You Think About It ?
It Seems A Powerful Language :D
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Thanks for sharing, it always seems that you are informed about everything around the internet.
Log in to reply
I know, right?
Well he keeps sharing things that in-turn keeps up being reshared. Cool great info.#thanks @Gabriel Merces
I look forward to you for teaching me that!
Yours friendly
Arya
Log in to reply
Hey, which school do you study in? I presume you are in grade 10/11
Log in to reply
11ththis academic year. See My profile and get to contact me through my e-mail ID...greats to talk!
Yeah you are almost right. Ima goingYeah. I can't fathom how tech-savvy he is
As your slide showed, it is 220x faster than Python (at a certain task), vs. Objective C which is only 127x faster than Python.
That's impressive, but does not imply that Swift is 93x faster than Objective C. Just almost twice as fast in this case.
It does raise my interest, though. Thanks for posting!
Log in to reply
is it just me or is that graph about RC4 encryption and not about speed...
Congratulations, Gabriel, for the most liked note in the history of Brilliant.
Fabolous please inform so many interesting things in comp science
Seems like a new way to code fast n efficient is here in the name if swift!!!
Its undoubtedly an excellent language, so all those who begin learning iOS development now can directly jump to Swift. However, I think that those who've worked in C / C++ would still find it much easier to pick up Objective-C than swift.
Thanks a lot for the info!
great
NYC . . .another attempt closer to android programming . . .
Good. Seems better than, infact much better than Ole objective C
It only seems more interesting now...
Hello..... it seems to be awesome language. .... more faster then objective c lang. I won't have any apple gadgets. ... so how will I get this book.... online...??.
Log in to reply
The docs are online.
good
fascinating...
Looking forward to being a Swift developer soon ... Resources / links / advice will be appreciated !
I haven't ever used Objective-C. Let's advent through Swift.
Seems good :) Interested in knowing more about it ;)
but @Gabriel Merces whats of codex it will be continued or replaced
Very good article.... Nice job
not a question
Thanks for sharing.
I got my hands on it , it seems pretty cool.
@Gabriel Merces , swift is not that much swift when you talk about performance, as far as sorting of arrays is considered . Check http://stackoverflow.com/questions/24101718/swift-performance-sorting-arrays
Log in to reply
That's just because the compiler isn't optimized yet: if you compile it with optimal settings, it blows Objective-C out of the water. If you actually read the question, you'll see that they resolved the issue by using the right configurations. It's in beta, so it's not going to work perfectly right out of the box.
Log in to reply
Yes, you are right. But swift have to travel a long way before wide adoption. However I think most of the swift work will be limited to Apple and it's product and it will not be a General language like C++. Apple is trying to change with time from Objective-C to swift
Log in to reply
thnxx for the information...
Lets see what it has. .