# 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.

What You Think About It ?

It Seems A Powerful Language :D

Note by Gabriel Merces
6 years, 5 months ago

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:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
• Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

## Comments

Sort by:

Top Newest

Thanks for sharing, it always seems that you are informed about everything around the internet.

- 6 years, 5 months ago

Log in to reply

I know, right?

- 6 years, 5 months ago

Log in to reply

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

- 6 years, 5 months ago

Log in to reply

Hey, which school do you study in? I presume you are in grade 10/11

- 6 years, 5 months ago

Log in to reply

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!

- 6 years, 5 months ago

Log in to reply

Yeah. I can't fathom how tech-savvy he is

- 6 years, 5 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!

- 6 years, 5 months ago

Log in to reply

is it just me or is that graph about RC4 encryption and not about speed...

- 6 years, 5 months ago

Log in to reply

Congratulations, Gabriel, for the most liked note in the history of Brilliant.

- 6 years, 5 months ago

Log in to reply

Fabolous please inform so many interesting things in comp science

- 6 years, 5 months ago

Log in to reply

Seems like a new way to code fast n efficient is here in the name if swift!!!

- 6 years, 5 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.

- 6 years, 5 months ago

Log in to reply

Thanks a lot for the info!

- 6 years, 5 months ago

Log in to reply

great

- 6 years, 5 months ago

Log in to reply

NYC . . .another attempt closer to android programming . . .

- 6 years, 5 months ago

Log in to reply

Good. Seems better than, infact much better than Ole objective C

- 6 years, 5 months ago

Log in to reply

It only seems more interesting now...

- 6 years, 5 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...??.

- 6 years, 5 months ago

Log in to reply

The docs are online.

- 6 years, 5 months ago

Log in to reply

good

- 6 years, 5 months ago

Log in to reply

fascinating...

- 6 years, 5 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.

- 6 years, 5 months ago

Log in to reply

Seems good :) Interested in knowing more about it ;)

- 6 years, 5 months ago

Log in to reply

but @Gabriel Merces whats of codex it will be continued or replaced

- 6 years, 5 months ago

Log in to reply

Very good article.... Nice job

- 6 years, 5 months ago

Log in to reply

not a question

- 6 years, 5 months ago

Log in to reply

Thanks for sharing.

- 6 years, 5 months ago

Log in to reply

I got my hands on it , it seems pretty cool.

- 6 years, 5 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

- 6 years, 5 months ago

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.

- 6 years, 5 months ago

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

- 6 years, 5 months ago

Log in to reply

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.

- 6 years, 5 months ago

Log in to reply

thnxx for the information...

- 6 years, 3 months ago

Log in to reply

Lets see what it has. .

- 6 years, 5 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...