Reactions To Apple's Plans To Open Source Swift
itwbennett writes: At Apple's WWDC 2015 event yesterday, Craig Federighi, Apple's senior vice president of software engineering, announced that the company planned to open source the Swift language. Reaction to this announcement so far has sounded more or less like this: Deafening applause with undertones of "we'll see." As a commenter on this Ars Technica story points out, "Their [Apple's] previous open-source efforts (Darwin, WebKit, etc) have generally tended to be far more towards the Google style of closed development followed by a public source dump." Simon Phipps, the former director of OSI, also expressed some reservations, saying, "While every additional piece of open source software extends the opportunities for software freedom, the critical question for a programming language is less whether it is itself open source and more whether it's feasible to make open source software with it. Programming languages are glue for SDKs, APIs and libraries. The real value of Swift will be whether it can realistically be used anywhere but Apple's walled garden."
Whenever a company open sources its code, it's a good thing. Even if no one wants to use it, it still sets a precedent. It wasn't long ago, no one was open-sourcing their code. Now, even Microsoft does some of it.
This strengthens that trend.
"First they came for the slanderers and i said nothing."
Chris Lattner started the LLVM project (basis for clang) before joining Apple. He was asking them a lot of questions in relation to his attempts to implement objective-c on it. Obviously Apple thought what he was doing was a great idea and hired him. I have no doubt that this was always in the plans since when quizzed about whether Swift would be open sourced they would not commit but always sounded open to the idea (i.e. they would not announce it until they were actually ready).
I seem to remember that during the presentation they explicitly stated that would be releasing a Linux version of the runtime libraries for Swift. At least that should give you the basics for a console/text user interface.
I doubt Apple is going to be making any GUI binding other than for Cocoa. I also doubt that the bindings for Cocoa will be included in the open source packages. It will be interesting to see how accepting they will be of community contributions.
> the critical question for a programming language is less whether it is itself open source and more whether it's feasible to make open source software with it.
I have to disagree - a language which only has one single implementation which is closed source means that the developers using it is locked in and completely at the mercy of the owners of this implementation. Just like with VB6.
I would never consider a closed language for anything else than small, short-lifetime hacks which I do not intend to maintain.
Funny, I was just the other day thinking, "what the world really needs right now, is another programming language".
The tiny number of choices in programming languages is the main thing holding back the industry, so it is great to finally see a new one. It's far too common that I think, "I've got this great idea for a new program... if only I had a viable language to program it in".
... It's a lot more appropriate to compare the open sourcing of Swift to the LLVM/Clang projects than to Darwin. LLVM is by any measure a thriving open source project with lots of contributers, both individuals and from many large organisations (Intel/AMD/ARM/Google/Microsoft, etc. etc.). I also follow Webkit development to some degree and it's far from "the Google style of closed development followed by a public source dump", a fact that should be clear to anyone who takes a minute to look at the webkit-dev mailing list.
The interactive way to Go -- http://www.playgo.to/iwtg/en/
Apple has always been very careful to keep important elements (e.g. the GUI of OSX) proprietary code. That is were they perceive their competitive edge and how they can assure an excellent revenue flow and enormous profits.
So, ease up.
A large part of a language's value is the API and framework it works against. It's no good just throwing out a compiler and a barebones set of APIs and thinking it's going to catch on. Unless Swift comes with a set of high level APIs that allow people to build applications / apps on non-Apple platforms then I don't see what the attraction to it will be.
http://elementscompiler.com/el...
RemObjects has developed an implementation of Swift in a product called "Silver" that, per their website, claims:
"With Silver, you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs. And you can also share a lot of non-UI code between platforms."
Their implementation isn't open source...but, the tool and their implementation are free.
Does open source Swift mean we finally don't have to buy a mac machine just to run XCode to develop iOS apps? Does Apple have plans to release an open source iOS simulator, so we can simulate iOS apps on Windows/Linux etc?
Apple has a much longer history of releasing open source or opening standards than most people like to give them credit for.
"Only one thing is impossible for God: To find any sense in any copyright law on the planet." - Mark Twain
the critical question for a programming language is... whether it's feasible to make open source software with it
I don't see any clear reason to think that it wouldn't be feasible to make open source software. They're releasing some kind of development kit for Linux, claiming that the released materials will be open sourced under a permissive license. Now they could by lying, or they might have a crazy idea about what constitutes a "permissive license", but otherwise, how could it not be feasible to make open source software with it? Even if their tools are somehow geared toward developing Mac apps, if they're open sourced, those tools can be rewritten.
It seems to me that the question that's more critical is, "Will the open source community want to use this language?" I don't know the answer to that.
"We're going to the standards bodies, starting tomorrow, and we're going to make FaceTime an open industry standard." - Steve Jobs, WWDC 2010
But Apple never followed-up on that.
Get free satoshi (Bitcoin) and Dogecoins
What do you imagine is stopping people?
Swift's only been out a year, and it's already #14 on the Tiobe index. And has been voted StackOverflow users favourite language. Take up has been anything but slow.
And I'd expect it to accelerate now, even without the open sourcing, as plenty of people were treating the 1.x label is meaning not yet ready. Plenty of companies will be starting to use it now it's 2.x.
Chris Lattner started the LLVM project (basis for clang) before joining Apple. He was asking them a lot of questions in relation to his attempts to implement objective-c on it. Obviously Apple thought what he was doing was a great idea and hired him. I have no doubt that this was always in the plans since when quizzed about whether Swift would be open sourced they would not commit but always sounded open to the idea (i.e. they would not announce it until they were actually ready).
Apple supported the development of clang (and LLVM) precisely because Apple realized it was too much work to elevate the GNU toolchain above its longstanding (and continuing) mediocre status.
It is nothing but good for the F/OSS community that Apple decided to continue the F/OSS status of LLVM and clang, and every single F/OSS Developer should be genuflecting on a daily basis to Chris Lattner and Apple for doing so.
Well, technically C and C++ are AT&T company languages. Java is a Sun company language. Perl is a Unisys company language. Python is a CWI company language. I'm not judging the merits of Swift, but just because it's a company language doesn't (necessarily) doom it to failure.
Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato