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 2020 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 93x93x.

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

#ComputerScience #Computer #Programming #Programminglanguage #Apple

Note by Gabriel Merces
7 years ago

No vote yet
1 vote

  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:

  • 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. numbered
2. 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 1

paragraph 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×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

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

Mardokay Mosazghi - 7 years ago

Log in to reply

I know, right?

Sharky Kesa - 7 years ago

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 - 7 years ago

Log in to reply

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

Krishna Ar - 7 years ago

Log in to reply

@Krishna Ar Yeah you are almost right. Ima going 11th11^{th}this academic year. See My profile and get to contact me through my e-mail ID...greats to talk!

Arya Samanta - 7 years ago

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

Krishna Ar - 7 years ago

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 - 7 years ago

Log in to reply

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

Ryan Soedjak - 7 years ago

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

Sharky Kesa - 6 years, 11 months ago

Fabolous please inform so many interesting things in comp science

Ameya Patil - 7 years ago

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

Rishab Gupta - 7 years ago

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 - 7 years ago

Thanks a lot for the info!

skaid dkhu - 7 years ago

great

MUHAMMAD KASHIF - 7 years ago

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

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

It only seems more interesting now...

Programmer 04 - 7 years ago

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 - 7 years ago

Log in to reply

The docs are online.

Cameron Bernhardt - 7 years ago

good

samuel ayinde - 7 years ago

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 ;)

Aishwarya Pradhan - 7 years ago

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

Rachit Agarwal - 7 years ago

Very good article.... Nice job

shyam Kantesariya - 7 years ago

not a question

Rohan Lad - 7 years ago

Thanks for sharing.

Andrias Meisyal - 7 years ago

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

shashwat singh - 7 years ago

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

Cameron Bernhardt - 6 years, 12 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

Jatin Dhankhar - 6 years, 12 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 - 6 years, 12 months ago

thnxx for the information...

Anmol Kamat - 6 years, 10 months ago

Lets see what it has. .

×

Problem Loading...

Note Loading...

Set Loading...