Skip to comments.Apple's new Swift coding language hopes to lock down errors. (Die Objective-C!!!)
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 ...
Simply genius. Makes C# look like a Cave Man.
I’d sell shoes or used cars for 500 years before I’d ever touch an Apple programming language.
“Id sell shoes ... before Id ever touch an Apple programming language.”
Can you keep your eyes open for the best prices for Reeboks? Thanks.
Still using the trusty BAL?
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
I think I understand your point. It can be pretty daunting to get to the core of the language.
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.
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.
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?
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.
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.
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 ****.
And that's where we want those amateurs. Leave the hard stuff to the big dogs.
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.
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.
Ohh boy, faster than Python!? Stop the presses... ;-)
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.
This is a serious question, really, but is Java considered a programming language or an elaborate social media driven computer virus?
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.
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.
Apple is to Development Languages and Environments,
Nancy Pelosi is to Sanity.
Apps are good places to store bad developers.
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.
Never understood why people act so “religious” over programming languages, it’s just a tool. And the more tools you know, the better.
No doubt, .NET Framework was built specifically to support web apps and services.
This is really their first I guess. I imagine they’ve been using it in house for quite a while.
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.
HR departments are dumping grounds for showing how “diverse” a company is.
According to the article no relation.
You know me, and I'm a tool.
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.
.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:
Back on topic, I think Swift looks pretty darned good. I hope open source implementations are allowed.
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.
I dunno... a tool has to actually be useful for at least one stated purpose.
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.
(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.)
I will hurt you.
“(As an aside, I hope someone does create one, and soon. I want to write an OS X app, but dont want to pony up the $99 developer fee until Im certain its 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.
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.
“I checked, and with a free dev account, no I cant, 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.
Apparently it's possible: Oracles Java API code protected by copyright, appeals court rules
Code, structure, sequence, and API organization entitled to copyright protection.
Yes, I went to the OS X developer site, Xcode 5.1 but not 6.0 beta. Maybe the iOS site?
It’s on this page, without even logging in:
Waiting for the first Job Rec that asks for five years of experience in Swift Programming.
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.
“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.
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.