Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Apple's new Swift coding language hopes to lock down errors. (Die Objective-C!!!)
CNet ^ | June 2, 2014 12:16 PM PDT | Seth Rosenblatt

Posted on 06/02/2014 5:53:12 PM PDT by ImJustAnotherOkie

Apple's new programming language Swift promises to be easier and faster to code with and more secure.

Swift promises to blaze past Objective-C and Python, with complex object sort 3.9 times faster and RC4 encryption 220 times faster than Python. Federighi promised that developers simply won't be able to make entire classes of errors that currently plague them, even though code written in Swift will be able to run alongside current Objective-C code.

(Excerpt) Read more at cnet.com ...


TOPICS:
KEYWORDS: programming
Just read the first couple of chapters in iBook. Free for the asking.

Simply genius. Makes C# look like a Cave Man.

1 posted on 06/02/2014 5:53:12 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | View Replies]

To: ImJustAnotherOkie

I’d sell shoes or used cars for 500 years before I’d ever touch an Apple programming language.


2 posted on 06/02/2014 6:04:00 PM PDT by varmintman (It must really suck to be a Nazi in Kiev these days...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: varmintman

“I’d sell shoes ... before I’d ever touch an Apple programming language.”
**********************************************************************

Can you keep your eyes open for the best prices for Reeboks? Thanks.


3 posted on 06/02/2014 6:12:06 PM PDT by House Atreides
[ Post Reply | Private Reply | To 2 | View Replies]

To: varmintman

Still using the trusty BAL?


4 posted on 06/02/2014 6:12:09 PM PDT by ImJustAnotherOkie (zerogottago)
[ Post Reply | Private Reply | To 2 | View Replies]

To: varmintman

Keep on enjoying your C# - no one is holding a gun to your head to switch.

But you did feel compelled to try to rain on someone else’s parade. Why is that? Hmmmmmmmm


5 posted on 06/02/2014 6:15:35 PM PDT by SengirV
[ Post Reply | Private Reply | To 2 | View Replies]

To: varmintman

I think I understand your point. It can be pretty daunting to get to the core of the language.


6 posted on 06/02/2014 6:15:39 PM PDT by Delta Dawn (Fluent in two languages: English and cursive.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ImJustAnotherOkie
Looks like they just added a few features to make it easier to work with database queries.

Also more forced type checking, etc. which everyone wanted to get rid of a few years ago to eliminate all that typing, but now wish they hadn't gotten rid of because of all the errors that allowed for.

The more things change, the more they stay the same.

Time to put "3 Years of Swift Computer Language" on my resume.

7 posted on 06/02/2014 6:16:40 PM PDT by who_would_fardels_bear
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie

Only the greybeards will get that reference. :)

Swift looks very interesting. Seems to be the first language specifically designed to fully exploit the technology behind LLVM. One can only hope that the impressive performance numbers claimed will hold up and that this will cause a rethink in the academic programming language community where everything done over the past decade has been based on JVM.


8 posted on 06/02/2014 6:19:16 PM PDT by AustinBill (consequence is what makes our choices real)
[ Post Reply | Private Reply | To 4 | View Replies]

To: ImJustAnotherOkie

It isn’t that hard to make C# look like a Cave Man, but after just a few minutes perusing, I don’t see anything that much better than other languages. Is Apple’s Swift related to the parallel language Swift?


9 posted on 06/02/2014 6:19:19 PM PDT by Vince Ferrer
[ Post Reply | Private Reply | To 1 | View Replies]

To: AustinBill

I read the tutorial earlier. I hadn’t used objective C but coming from a java background it looked like something I could pick up quickly.


10 posted on 06/02/2014 6:48:59 PM PDT by posterchild (It takes a politician to declare a settled science.)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Vince Ferrer

I found that upon a bit of searching. I wonder if they bothered to look if the name was previously used. it appears to be a different language.


11 posted on 06/02/2014 6:49:49 PM PDT by posterchild (It takes a politician to declare a settled science.)
[ Post Reply | Private Reply | To 9 | View Replies]

To: varmintman
You in 10 years, lol...


12 posted on 06/02/2014 6:49:56 PM PDT by dsrtsage (One half of all people have below average IQ. In the US the number is 54%i)
[ Post Reply | Private Reply | To 2 | View Replies]

To: SengirV

My impression of Apple arises in more or less equal parts from the Lisa and Toaster-Mac, the stunt they pulled shutting down the Atari-ST, the lawsuits against MicroSoft, and the junky iphone. No way in the world I’d have anything to do with a programming language fabricated by the losers responsible for all that ****.


13 posted on 06/02/2014 7:40:00 PM PDT by varmintman (It must really suck to be a Nazi in Kiev these days...)
[ Post Reply | Private Reply | To 5 | View Replies]

To: ShadowAce

ping


14 posted on 06/02/2014 7:55:57 PM PDT by BuckeyeTexan (There are those that break and bend. I'm the other kind. ~Steve Earle)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie
Just like VB brought lots of people into the software world, Swift might allow people with a less technical skillset to write apps.

And that's where we want those amateurs. Leave the hard stuff to the big dogs.

15 posted on 06/02/2014 8:25:15 PM PDT by BuckeyeTexan (There are those that break and bend. I'm the other kind. ~Steve Earle)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie

Apple has always produced crapware, klunky and resource heavy.

Real code on real computers use C++ (and C#) but for real klunky and resource hogging it takes a Java app.


16 posted on 06/02/2014 8:59:09 PM PDT by RJS1950 (The democrats are the "enemies foreign and domestic" cited in the federal oath)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RJS1950
Real code on real computers use C++ (and C#) but for real klunky and resource hogging it takes a Java app.

Compass (Control Data assembly language) and Fortran here. Taught Cobol. Did a bunch of C programming later in career and ventured into C++ and Java.

17 posted on 06/02/2014 9:46:26 PM PDT by OrioleFan (Republicans believe every day is July 4th, Democrats believe every day is April 15th.)
[ Post Reply | Private Reply | To 16 | View Replies]

To: ImJustAnotherOkie

Ohh boy, faster than Python!? Stop the presses... ;-)


18 posted on 06/02/2014 10:50:00 PM PDT by ThunderSleeps (Stop obarma now! Stop the hussein - insane agenda!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: who_would_fardels_bear

LOL! Tech head hunters and HR job posters are the lowest form of ignorant life. I can’t tell you how many times I have read a job posting where they ask to 5 years of experience for a 2 year old product.


19 posted on 06/02/2014 11:00:43 PM PDT by WMarshal (Free citizen, never a subject or a civilian)
[ Post Reply | Private Reply | To 7 | View Replies]

To: RJS1950
"but for real klunky and resource hogging it takes a Java app"

This is a serious question, really, but is Java considered a programming language or an elaborate social media driven computer virus?

20 posted on 06/02/2014 11:17:08 PM PDT by who_would_fardels_bear
[ Post Reply | Private Reply | To 16 | View Replies]

To: who_would_fardels_bear

Heh! Funny.

While Java is a professional programming language that is often used by less than professional programmers it is NOT an ideal language for programming web apps and it never has been. In 95 they began hyping it as a web language because at the time it was better than using C++. The idea behind Java was to remove the “dangerous” aspects of C++ such as pointers and memory management and garbage collection so that programmers couldn’t screw up the code and make it unsafe. Unfortunately, what they removed were the constructs that made C++ so powerful in the hands of competent and experienced programmers and allowed many who were less than skilled to write applications. Crappy code is still crappy code regardless of the language when it is written by newbies who think they know everything about the language. Java is still klunky to write, especially for visual apps and is a memory hog.

C++ is still the predominant language in use along with Java, C#, and yes, VB .Net.


21 posted on 06/03/2014 7:28:03 AM PDT by RJS1950 (The democrats are the "enemies foreign and domestic" cited in the federal oath)
[ Post Reply | Private Reply | To 20 | View Replies]

To: OrioleFan

I also did all of that except instead of Compass assembly I did IBM assembly. I moved into C++, C#, VB, and some Java and for the last 10 years I’ve been teaching undergraduate/graduates courses in C++, C#, VB.Net, and Java.


22 posted on 06/03/2014 7:30:35 AM PDT by RJS1950 (The democrats are the "enemies foreign and domestic" cited in the federal oath)
[ Post Reply | Private Reply | To 17 | View Replies]

To: ImJustAnotherOkie

Apple is to Development Languages and Environments,

as

Nancy Pelosi is to Sanity.


23 posted on 06/03/2014 7:41:01 AM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: BuckeyeTexan

Apps are good places to store bad developers.


24 posted on 06/03/2014 7:42:43 AM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 15 | View Replies]

To: RJS1950

I support a VB.NET web app with dynamic page generation (as opposed to controls on a control surface, and a second C#.NET web app with the control surface page generation.

.NET is still the king of web app development.


25 posted on 06/03/2014 7:44:45 AM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 21 | View Replies]

To: varmintman

Never understood why people act so “religious” over programming languages, it’s just a tool. And the more tools you know, the better.


26 posted on 06/03/2014 7:48:13 AM PDT by dfwgator
[ Post Reply | Private Reply | To 2 | View Replies]

To: Lazamataz

No doubt, .NET Framework was built specifically to support web apps and services.


27 posted on 06/03/2014 7:53:43 AM PDT by RJS1950 (The democrats are the "enemies foreign and domestic" cited in the federal oath)
[ Post Reply | Private Reply | To 25 | View Replies]

To: Lazamataz

This is really their first I guess. I imagine they’ve been using it in house for quite a while.


28 posted on 06/03/2014 7:55:02 AM PDT by ImJustAnotherOkie (zerogottago)
[ Post Reply | Private Reply | To 23 | View Replies]

To: WMarshal

That’s been the case for years, shotgun job requirements. In 2000, there were all kinds of postings for 3-5 years of .Net experience. At that time the only developers with that experience were the .Net developers at Microsoft.

HR posters like many CIOs are completely clueless.


29 posted on 06/03/2014 7:57:08 AM PDT by RJS1950 (The democrats are the "enemies foreign and domestic" cited in the federal oath)
[ Post Reply | Private Reply | To 19 | View Replies]

To: RJS1950

HR departments are dumping grounds for showing how “diverse” a company is.


30 posted on 06/03/2014 7:58:07 AM PDT by dfwgator
[ Post Reply | Private Reply | To 29 | View Replies]

To: Vince Ferrer

According to the article no relation.


31 posted on 06/03/2014 7:59:27 AM PDT by ImJustAnotherOkie (zerogottago)
[ Post Reply | Private Reply | To 9 | View Replies]

To: dfwgator
rogramming languages, it’s just a tool. And the more tools you know, the better.

You know me, and I'm a tool.

32 posted on 06/03/2014 8:00:46 AM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 26 | View Replies]

To: BuckeyeTexan

The only problem with the original VB was OO support.

When VB.Net came out I went to C# since I did C for years.

I use neither now.

Digging into the details of Swift it turns out to be insanely robust with a lot of choices to accomplish a project.

I don’t like the ‘let’ much. That’s why the analogy to Basic comes from but that’s about all there is in common.


33 posted on 06/03/2014 8:04:09 AM PDT by ImJustAnotherOkie (zerogottago)
[ Post Reply | Private Reply | To 15 | View Replies]

To: Lazamataz
".NET is still the king of web app development."

.NET (or .NYET :) has never been the top choice for web app development, since it's tied to Windows. Linux and Unix power most of the big sites, with Java providing the horsepower for "enterprise class" development.

Java has been the #1 language in terms of jobs for quite a while.

Here's a chart from an analysis of 45,000 job postings on Twitter for the last 12 months:

From: http://www.sitepoint.com/best-programming-language-learn-2014/

Back on topic, I think Swift looks pretty darned good. I hope open source implementations are allowed.

34 posted on 06/03/2014 1:56:05 PM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 25 | View Replies]

To: RJS1950

Sorry about the IBM assembly language. Compass only had 64 instructions. Seymour Cray designed some fast (ahead of their time) mainframes in the 6000 and 7000 series systems. They had no interrupts. Peripheral processors (programmable channels) were used to monitor the system, control the display, move data around to network devices, card readers, printers, and tape drives. If you knew what you were doing, you could actually start one up from a Fortran program. CDC had 2 operating systems NOS and NOS/BE. NOS came from COS (Cray Operating System) and NOS/BE came from MACE (Mansfield and Callendar’s Executive). I actually went skiing with Dave Callendar, his wife, and my fiance.


35 posted on 06/04/2014 7:58:33 AM PDT by OrioleFan (Republicans believe every day is July 4th, Democrats believe every day is April 15th.)
[ Post Reply | Private Reply | To 22 | View Replies]

To: Lazamataz
You know me, and I'm a tool.

I dunno... a tool has to actually be useful for at least one stated purpose.

36 posted on 06/04/2014 8:01:51 AM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 32 | View Replies]

To: PreciousLiberty
I think Swift looks pretty darned good. I hope open source implementations are allowed.

If they posted the language reference, is it even possible to prevent someone else from writing a compiler for it? You can copyright a specific implementation, but not the language itself, as far as I know.

37 posted on 06/04/2014 8:03:43 AM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 34 | View Replies]

To: kevkrom

(As an aside, I hope someone does create one, and soon. I want to write an OS X app, but don’t want to pony up the $99 developer fee until I’m certain it’s close to ready for market.)


38 posted on 06/04/2014 8:06:05 AM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 37 | View Replies]

To: kevkrom

I will hurt you.


39 posted on 06/04/2014 9:09:34 AM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 36 | View Replies]

To: kevkrom

“(As an aside, I hope someone does create one, and soon. I want to write an OS X app, but don’t want to pony up the $99 developer fee until I’m certain it’s close to ready for market.)”

You can get all the OSX developer tools free, you only need to pay the $99 if you want to sell through Apple’s stores, or download an iOS app to an actual device rather than a simulator.

Just register for a free developer account. You’ll have access to the XCode 6 beta.


40 posted on 06/04/2014 12:28:56 PM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 38 | View Replies]

To: PreciousLiberty

I checked, and with a free dev account, no I can’t, at least not as of this morning. I do have a friend who’s a registered iOS developer, though, maybe I can get the Xcode beta from her.


41 posted on 06/04/2014 12:34:46 PM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 40 | View Replies]

To: kevkrom

“I checked, and with a free dev account, no I can’t, at least not as of this morning.”

That’s odd, it was there when I looked earlier, and I’m also on a free account. It’s not on the app store, you have to log in to the developer area. I’ll post the link later.


42 posted on 06/04/2014 1:10:35 PM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 41 | View Replies]

To: kevkrom
"If they posted the language reference, is it even possible to prevent someone else from writing a compiler for it? You can copyright a specific implementation, but not the language itself, as far as I know."

Apparently it's possible: Oracle’s Java API code protected by copyright, appeals court rules

Code, structure, sequence, and API organization entitled to copyright protection.

43 posted on 06/04/2014 1:13:31 PM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 37 | View Replies]

To: PreciousLiberty

Yes, I went to the OS X developer site, Xcode 5.1 but not 6.0 beta. Maybe the iOS site?


44 posted on 06/04/2014 5:32:37 PM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 42 | View Replies]

To: kevkrom

It’s on this page, without even logging in:

https://developer.apple.com/xcode/downloads/

Enjoy! :-)


45 posted on 06/05/2014 7:27:30 AM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 44 | View Replies]

To: WMarshal

Waiting for the first Job Rec that asks for five years of experience in Swift Programming.


46 posted on 06/05/2014 7:29:14 AM PDT by dfwgator
[ Post Reply | Private Reply | To 19 | View Replies]

To: PreciousLiberty

No, that page has links that take me right back to the same page I was at, which allows me to download Xcode 5.1.1 (which I already have), but not the 6.0 beta, which requires paid developer access. Tried the OS X and iOS links, same net result.


47 posted on 06/05/2014 7:31:09 AM PDT by kevkrom (I'm not an unreasonable man... well, actually, I am. But hear me out anyway.)
[ Post Reply | Private Reply | To 45 | View Replies]

To: kevkrom

“No, that page has links that take me right back to the same page I was at, which allows me to download Xcode 5.1.1 (which I already have), but not the 6.0 beta, which requires paid developer access. Tried the OS X and iOS links, same net result.”

Whoops, sorry, didn’t look hard enough at the links there. I’ll have to check it out later.


48 posted on 06/05/2014 8:32:15 AM PDT by PreciousLiberty
[ Post Reply | Private Reply | To 47 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson