Waste less time on Facebook — follow Brilliant.
×

Swift : The New Programming Language From Apple !

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 \(20\) 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 \(93x\).

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

Note by Gabriel Merces
2 years, 12 months ago

No vote yet
1 vote

Comments

Sort by:

Top Newest

Thanks for sharing, it always seems that you are informed about everything around the internet. Mardokay Mosazghi · 2 years, 12 months ago

Log in to reply

@Mardokay Mosazghi 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 Arya Samanta · 2 years, 11 months ago

Log in to reply

@Arya Samanta Hey, which school do you study in? I presume you are in grade 10/11 Krishna Ar · 2 years, 11 months ago

Log in to reply

@Krishna Ar Yeah you are almost right. Ima going \(11^{th}\)this academic year. See My profile and get to contact me through my e-mail ID...greats to talk! Arya Samanta · 2 years, 11 months ago

Log in to reply

@Mardokay Mosazghi I know, right? Sharky Kesa · 2 years, 12 months ago

Log in to reply

@Mardokay Mosazghi Yeah. I can't fathom how tech-savvy he is Krishna Ar · 2 years, 12 months ago

Log in to reply

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! Steven Perkins · 2 years, 11 months ago

Log in to reply

@Steven Perkins is it just me or is that graph about RC4 encryption and not about speed... Ryan Soedjak · 2 years, 11 months ago

Log in to reply

Congratulations, Gabriel, for the most liked note in the history of Brilliant. Sharky Kesa · 2 years, 11 months ago

Log in to reply

Seems like a new way to code fast n efficient is here in the name if swift!!! Rishab Gupta · 2 years, 11 months ago

Log in to reply

Fabolous please inform so many interesting things in comp science Ameya Patil · 2 years, 11 months ago

Log in to reply

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. Raghav Dua · 2 years, 12 months ago

Log in to reply

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...??. Rajat Sharma · 2 years, 11 months ago

Log in to reply

@Rajat Sharma The docs are online. Cameron Bernhardt · 2 years, 11 months ago

Log in to reply

It only seems more interesting now... Programmer 04 · 2 years, 11 months ago

Log in to reply

Good. Seems better than, infact much better than Ole objective C Agnishom Chattopadhyay · 2 years, 11 months ago

Log in to reply

NYC . . .another attempt closer to android programming . . . Prodyumno Chakraborty · 2 years, 11 months ago

Log in to reply

great Muhammad Kashif · 2 years, 12 months ago

Log in to reply

Thanks a lot for the info! Skaid Dkhu · 2 years, 12 months ago

Log in to reply

thnxx for the information... Anmol Kamat · 2 years, 9 months ago

Log in to reply

@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 Jatin Dhankhar · 2 years, 11 months ago

Log in to reply

@Jatin Dhankhar 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. Cameron Bernhardt · 2 years, 11 months ago

Log in to reply

@Cameron Bernhardt 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 Jatin Dhankhar · 2 years, 11 months ago

Log in to reply

@Jatin Dhankhar Yes, that's the point: it's a replacement for Obj-C, not C++. They wrote the language for their own applications. "Objective-C without the baggage of C," as they like to say. Cameron Bernhardt · 2 years, 11 months ago

Log in to reply

I got my hands on it , it seems pretty cool. Shashwat Singh · 2 years, 11 months ago

Log in to reply

Thanks for sharing. Andrias Yuwantoko · 2 years, 11 months ago

Log in to reply

not a question Rohan Lad · 2 years, 11 months ago

Log in to reply

Very good article.... Nice job Shyam Kantesariya · 2 years, 11 months ago

Log in to reply

but @Gabriel Merces whats of codex it will be continued or replaced Rachit Agarwal · 2 years, 11 months ago

Log in to reply

Seems good :) Interested in knowing more about it ;) Aishwarya Pradhan · 2 years, 11 months ago

Log in to reply

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. Sheikh Asif Imran Shouborno · 2 years, 11 months ago

Log in to reply

fascinating... Bonaventura Radityo Sanjoyo · 2 years, 11 months ago

Log in to reply

good Samuel Ayinde · 2 years, 11 months ago

Log in to reply

Lets see what it has. . Thiliban Varadharajan · 2 years, 11 months ago

Log in to reply

Comment deleted Jun 13, 2014

Log in to reply

@Anastasiya Romanova Hey Valentina, try to post comments based on the actual note. It's not good to self-advertise. Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Agreed. Hey dude I notice we're both all Level 4/5 maxed out! :D Finn Hulse · 2 years, 11 months ago

Log in to reply

@Finn Hulse I have been watching a whole load of YouTube videos for E+M and mechanics. I am just level 4 in them though. Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Aha. "Just" Level 4. Finn Hulse · 2 years, 11 months ago

Log in to reply

@Finn Hulse As in just over 1750 for E+M and 1800 in Mechanics. Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Oh. For me E+M is 1923 and Mechanics is 1846... Finn Hulse · 2 years, 11 months ago

Log in to reply

@Finn Hulse How? Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa How what? Finn Hulse · 2 years, 11 months ago

Log in to reply

@Finn Hulse How'd you get so good? Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Yeah! Even I wanna know how you both- @Sharky Kesa and @Finn Hulse - got so good in them? And what are your highest ever ratings? In which subjects are they? Krishna Ar · 2 years, 11 months ago

Log in to reply

@Krishna Ar I used YouTube to learn more on the topics and my highest rating is Number Theory, 2453. Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Mine is also NT but it's only like 2289. I'm intersted to know @Jon Haussmann's ratings! :D Finn Hulse · 2 years, 11 months ago

Log in to reply

@Finn Hulse Me too! ^_^ Krishna Ar · 2 years, 11 months ago

Log in to reply

@Finn Hulse Daniel Chiu's NT rating is over 3000 I think. Sharky Kesa · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Yeah. Finn Hulse · 2 years, 11 months ago

Log in to reply

@Sharky Kesa Whoa! MIne is just 2119 :( Krishna Ar · 2 years, 11 months ago

Log in to reply

@Sharky Kesa OH...:) Krishna Ar · 2 years, 11 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...