15 ms·
Introducing Phoenix, Swift set free
- spdegabrielle 12y agoI can't find a license?
- rtorr 12y agoNothing here either https://source.ind.ie/project/phoenix/tree/master https://source.ind.ie/project/phoenix/tree/master.
- misnome 12y agoThis. Pretty Ironic (And I opened the source tree, which doesn't have the licence either). Besides, wouldn't the best way to start this sort of thing be to write an LLVM frontend, rather than a new main.c? I get the impression more time has been spent on the "Launch Site" than the actual "Product".
- chc 12y agoI think the primary purpose at this point is to try and get Apple to not force the community to divide the development effort like this. They would rather not move forward with this codebase.
- akbar501 12y agohttps://source.ind.ie/project/phoenix/blob/master/LICENSE https://source.ind.ie/project/phoenix/blob/master/LICENSE
- misnome 12y agoRight, added likely in response to this post. https://source.ind.ie/project/phoenix/commit/4fc86be27e056620605f989665d502a2eac36df3 https://source.ind.ie/project/phoenix/commit/4fc86be27e05662... Thrown GPL on it, which doesn't exactly come across as considered - aren't a lot of Apples contributions to and development of Clang - including of course the objective c frontent, under the BSD-alike licence that it shares with LLVM?
- 0x09 12y agoBeing that this is essentially part of the GNUstep project (of which Greg Casamento is the maintainer), which uses the GPL for all its application-level code, it's not surprising.
- k-mcgrady 12y agoAren't they probably just holding off on open sourcing it until...it's finished. I know they've just shipped '1.0' but I think they're still making pretty big changes.
- chc 12y agoWhat's the last programming language you can think of that was really "finished" in any sense besides "shipped an X.0 version"? "When it's completely finished" is essentially synonymous with "when it's dead."
- k-mcgrady 12y agoI understand that but it's only been available to the public for a few months. Apple were likely focussed completely on getting it ready for dev to use in iOS 8. That's where all their man power was. Give them some time.
- chc 12y agoIt's been 33 days since iOS 8 came out. It takes 30 seconds to tweet "Hey, we have some cleaning up to do before we open up Swift, but it's coming some time in the next two years!" They have not even expressed an interest in open-sourcing it. Any thought of Apple open-sourcing Swift at this point is pure fantasy, so the suggestion that we "give them some time" doesn't make any sense to me.
- jkrems 12y agoThey have expressed interest in open-sourcing Swift pretty much immediately after announcing it. Both on Twitter and later (?) on the LLVM mailing list. No official Apple announcement and far from a guarantee that it will happen - but "they have not even expressed an interest" isn't true.
- chc 12y agoNot unless you've seen something I haven't. Chris Lattner said that although he was personally interested in open-sourcing it, Apple had no intention of ever doing so at that time. To my knowledge, that is the last we ever heard of it
- ChuckMcM 12y agoInteresting it seems to be more about building an open version of the iPhone called 'stratosphere' (see this https://source.ind.ie/project/ind-ie/blob/master/source/index.html https://source.ind.ie/project/ind-ie/blob/master/source/inde...) Given that Apple went all patent troll on Google's Android licensees and patents, unlike copyrights, cannot be avoided by re-expression, I'm wondering about the strategy of making an open phone. Easily doable in 20 years (post patent expiration) but hard at the moment.
- achalkley 12y agoI think "stratosphere" is the Cloud platform. The phone from AFAIK is Indie Phone.
- listic 12y agoI wish Indie Phone all the best, but... haven't OpenMoko http://en.wikipedia.org/wiki/Openmoko http://en.wikipedia.org/wiki/Openmoko and Ubuntu Edge http://en.wikipedia.org/wiki/Ubuntu_Edge http://en.wikipedia.org/wiki/Ubuntu_Edge shown that open source phones just don't fly? I surely wish they did.
- aral 12y agoThe phone is several years away… we’re concentrating on building the platform at the moment — starting with a lovely way to share stuff you care about between your devices and with other people (without any Facebook-like creepy uncle in the middle — thus, peer-to-peer). Once we get the UX right on the core, we’ll go from there. If we fuck up the UX, none of the other stuff matters. That’s really where we differ with Openmoko, etc. :)
- metafex 12y agoOn the contrary the Neo900 phone shows that even very small batches of open-hardware phones can be made. The difference with open source projects is the passion that makes them work (even if just for a few people) :)
- super_mario 12y agoSomeone hit the commit button too soon. parser.y is missing: $ make make: * No rule to make target 'parser.y', needed by 'parser.c'. Stop.
- chc 12y agoI'm glad somebody is doing something about this. Swift deserves better than to serve as a pair of golden handcuffs. I remember back when Swift was first announced, people said they were sure Apple intended to make Swift free once it was ready for release. Sadly, Apple didn't live up to people's expectations on this one.
- mikeash 12y agoIf people actually expected that, then it was just silly of them. Even if Apple were completely committed to making Swift open source (and I'm hopeful they are), I wouldn't expect anything to show up for a couple more months at the least. Apple often takes their time open sourcing new stuff.
- chc 12y agoYou can see people in this very thread still expressing the same thought — "Oh, it's just not finished yet. It'll be open-sourced when it's finished."
- steve918 12y agoThey should really come up with a better name. Phoenix is over used and even in open-source has a long history http://en.wikipedia.org/wiki/Firefox http://en.wikipedia.org/wiki/Firefox
- jagger27 12y agoSeriously. Unfortunately OpenSwift appears to be taken [0]. It would have been the obvious choice. [0] http://sourceforge.net/projects/openswift/ http://sourceforge.net/projects/openswift/
- steele 12y agohttps://github.com/phoenixframework/phoenix https://github.com/phoenixframework/phoenix Another rising technology with a similar name. This phoenix is set to be the Rails for Elixir
- simi_ 12y agoAgreed. Here's a starting point if they decide to change the name: http://www.thesaurus.com/browse/swift http://www.thesaurus.com/browse/swift
- ddrmaxgt37 12y agoWhoever wrote that needs to proofread the post a bit and be more familiar with Apple's strategy.
- MCRed 12y agoand history.
- geofft 12y agoLooks like it's based on "swift2js", which I hadn't previously heard of and seems pretty nifty: https://github.com/swift2js/swift2js https://github.com/swift2js/swift2js
- electic 12y agoSeeing more and more thoughts be published like this in the last few months. It seems developer discontent might be growing with Apple.
- MCRed 12y agoThis is the kind of unfounded complaints we've seen from people about Apple going back at least to the 1980s. More recently, there was an "outcry" when Apple waited a few months to release the latest version of OS X as open source after releasing the retail version. Truth is, Apple is pretty good about open sourcing their stuff, especially when compared to their peers (Microsoft, Oracle). But that doesn't fit the "Google good, Apple bad" narrative that is popular in some circles. It's important to remember that Android being "open" is googles attempt to commoditize a competitors product... you don't see google open sourcing core technologies related to source.
- electic 12y agoHere is another one today. http://9to5mac.com/2014/10/21/rapidweaver-6/ http://9to5mac.com/2014/10/21/rapidweaver-6/
- IBM 12y agohttp://www.paulgraham.com/apple.html http://www.paulgraham.com/apple.html
- JoshTriplett 12y agoMentioning the Apple/NeXT GCC/ObjC/GPL history is not a good way to get on Apple's good side.
- WoodenChair 12y agoA few thoughts: - Browsing the source code directory, this is very very "early stage" at best and perhaps too early to warrant a "Get It Now" link - There is an alternative implementation of Swift for the interested, although not open source, being developed by RemObjects: http://www.remobjects.com/elements/silver/ http://www.remobjects.com/elements/silver/ - Apple should definitely open source Swift, but I doubt this kind of pressure is going to have any significant sway on their decision one way or another. When in the past did developer pressure influence any of their major strategic decisions? - Referring to Richard Stallman as "Richard", Steve Jobs as "Steve" and Chris Lattern as "Chris" in the letter comes off as a bit sarcastic/snippy in tone - I don't believe Apple is promoting Swift to encourage lock-in anymore than Apple promoted Objective-C to encourage lock-in; as others here have stated I think the author misunderstands Apple's business model/philosophy
- zerr 12y ago> Referring to Richard Stallman as "Richard", Steve Jobs as "Steve" and Chris Lattern as "Chris" in the letter comes off as a bit sarcastic/snippy in tone Not necessary. First names are often used for familiarity, and it is fine e.g. for celebrities. Although, I have no idea who is Chris :)
- WoodenChair 12y agoThat's right for familiarity. Unless he personally knows each of them, he shouldn't assume such familiarity. At least where I'm from it's considered uncouth to do so. Of course it's a cultural thing, and perhaps where you're from it doesn't sound the same way to your ear.
- zerr 12y agoI think it's more personal [opinion] thing rather than cultural. To me, "Mr. Stallman" would sound sarcastic. And don't forget that we're talking about celebrities. Another example - if you've grown up on Beatles music, you'd say Paul and Ringo rather than Mr. McCartney or Mr. Starkey, right? And I'm pretty sure Paul and Ringo prefer the former one ;)
- pjmlp 12y agoI really don't get why people stress over this. Swift only has value with the Mac OS X and iOS ecosystems, specially as a mean to drag Objective-C developers into the FP world. There are so many open source languages in the ML family, a few of them are even used in the industry for several years now. Just go and join one of those projects. They will appreciate any help they can get.
- Dewie 12y agoI would be curious to know if the authors of this feels that there is something that Swift can give them that some other ML-like or whatever language can't, if we disregard any ties to the Apple platform and ecosystem.
- coldtea 12y ago>There are so many open source languages in the ML family, a few of them are even used in the industry for several years now. Just go and join one of those projects. Well, some people like the decisions behind Swift, and would prefer a language with an ecosystem, documentation and developer community of the size that results from Apple being involved in it compared to, say, Jane Street. Heck, people also use Go mostly because of the Google involvement (and the momentum that gives), and it's a language 30 years behind Swift.
- michaelchisari 12y ago> it's a language 30 years behind Swift. Interesting idea. Can you post a link that explains why that is?
- coldtea 12y agoI guess because the Go creators didn't study much (or cared about) the last decades of language research. Heck, the major language they were involved and associated with, C, wasn't that "current" even at the time when it appeared, just pragmatic in a "worse is better" way and readily available. They were every influencial systems guys, with C, Unix, Plan 9, etc, but not really big PL/Compiler guys. Now, Swift is pragmatic too, and far from cutting edge, but still ways ahead of Go in that area, and its creator is a very strong player in the field of compilers (he also did LLVM). Here's a link that shows how much hasn't changed: http://cowlark.com/2009-11-15-go/ http://cowlark.com/2009-11-15-go/
- exelius 12y agoUm, I actually disagree with the author's assertion that Swift is designed to make it harder to co-develop iOS and Android apps. If anything, Swift's syntax and object model are more similar to Java than Objective-C was, which should make it easier to write portable code. I also disagree with the author's entire premise, because Apple open sources a lot more than its competitors do. Like, a whole lot more. [1] You can download the source for the entire OS X kernel. I believe Swift will eventually be open sourced. It would fit entirely within Apple's strategy to do so: they like to open source foundational technologies, while keeping the libraries and proprietary features the build on top of them to themselves. [1] https://developer.apple.com/opensource/ https://developer.apple.com/opensource/
- Mikeb85 12y agoAnd you can download the source for Google's browser, both OSes, both their programming languages, etc... The argument that because OSX's kernel and WebKit are open source that Apple is somehow 'more open' is silly because they really aren't 'more open'. Maybe compared to MS...
- krschultz 12y agoCompared to Microsoft they are more open source. Compared to Google, they are a lot less open source. I write iOS & Android apps. The difference is stark. They haven't even open sourced XCode, the iOS tools, or the CI server.
- chc 12y agoMicrosoft has dozens of open-source projects[1]. Notably, ASP.NET and the C# compiler are both open-source. [1]: http://www.microsoft.com/en-us/openness/default.aspx#projects http://www.microsoft.com/en-us/openness/default.aspx#project...
- salimmadjd 12y agoSwift is a beautiful language but you want to keep it all to yourself. We don't know that's true or not. AFAIK, Apple has not officially commented on this topic. Actually, having spoken with Swift team in Apple (rather not mention their names in case they get in trouble) on this topic, they seemed to be happy opening it up in general and opening it up as a general purpose language. Swift could ultimately replace C++ as the language of choice for game development and more. That said, IMHO, the language will progress a lot faster initially if it's driven by a single master than to be pulled into many directions.
- aral 12y agoHey folks, just wanted to say that it’s very early days at the moment (as WoodenChair commented) — and we’re changing the button to "Sneak Peek" to reflect this. Poor Greg has been working his fingers off to get it ready (he’s pulled three all-nighters and that can’t be healthy so he’s been told in no uncertain terms to get some sleep now) and we should have a running compiler within the week. If any of you want to help out, please do get in touch. Ideally, of course, if Apple opens Swift up, we can contribute to that instead of duplicating effort :)
- simi_ 12y agoStartups led by non-engineers just leave a bad taste in my mouth for some reason. This comment definitely evokes that feeling.
- mindcrash 12y agoErhm. Aral knows code. Trust me :) Also if you read a bit further, the effort on Phoenix is lead by Greg Casamento, who is also involved with GNUStep (and thus bringing the NS* objects to Linux).
- simi_ 12y agoThanks for the clarification. I've met Aral and consider him a very smart guy, I was just commenting about my gut feeling in situations similar to this. I'm happy to learn I'm wrong in this case. :)
- zerr 12y agoWhy the rush?
- GeorgeMac 12y agoJust a shout to say, if you believe in what the ind.ie guys are doing, then please sign their manifesto: https://ind.ie/about/manifesto/ https://ind.ie/about/manifesto/ It's time we valued our privacy one again.
- GeorgeMac 12y agoJust to confirm why I posted this. Due to receiving a down vote. Phoenix is a component of http://ind.ie http://ind.ie and the movement they are trying to create. User experience driven design/technology, which empowers individuals to remain connected, while protecting their privacy and freedoms.
- jarjoura 12y agoWow, this _open letter_ is so full of nerd rage that it fails to capture any of my sympathy. I expected to see a humble effort to create an open-source Swift compiler that would move the conversation forward. Instead, I'm left feeling this effort is out of spite alone. All of this before Apple has made any final decision on the matter one way or another. It would be really cool if the Swift compiler would build code for both Windows and Android so we could have true portable software in a language that isn't C or C++. So I'm hopeful the Swift engineers also see value in that. Though right now it's a language that's so tightly tied to Objective-C and Foundation that I suspect it will be a very long time before we see that come true.
- dbtc 12y agoI agree but > I'm hopeful the Swift engineers also see value in that I have a feeling it's not the engineers who would be to blame.
- slm_HN 12y ago>Wow, this _open letter_ is so full of nerd rage that it fails to capture any of my sympathy. I expected to see a humble effort to create an open-source Swift compiler that would move the conversation forward. It's funny, when I first skimmed the letter I thought, cool, open source Swift. However when I moved past skimming and actually read the letter... wow, it's terrible. As others have mentioned the first name thing makes the authors sound like some douchey Brogrammers. The rest of the letter is just condescending, snarky or just plain undecipherable and wrong. For example "Swift is a beautiful language but you want to keep it all to yourself. That’s just not on.". They're not keeping it for themselves, they made the language so it's easier for developers to create software and in fact they give away the language/ide/debugger/etc away for free. "That's just not on." Is this open letter really intended for Tim Cook? Do you think the leader of Apple actually likes to wade through clumsy slang? Have you thought of sprinkling the word "hella" around for more emphasis? I now view the whole thing as a cautionary tale about the dangers of skimming internet pages.
- beltex 12y ago"Guys, feel free to make up your own dragons if you want, but your speculation is just that: speculation. We literally have not even discussed this yet, because we have a ton of work to do to respond to the huge volume of feedback we're getting, and have to get a huge number of things (e.g. access control!) done before the 1.0 release this fall. You can imagine that many of us want it to be open source and part of llvm, but the discussion hasn't happened yet, and won't for some time. Sorry to leave you all hanging, but there is just far too much to deal with right now. -Chris" http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/073698.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/073698.... http://en.wikipedia.org/wiki/Chris_Lattner http://en.wikipedia.org/wiki/Chris_Lattner
- drawkbox 12y agoThey should definitely do this as they have in the past with Webkit, canvas, Khronos support of OpenGL ES (finally getting a focused product out of OpenGL ES/WebGL), and more. They might just be taking a bit of an early adopter grab and will open it up later, hopefully. Metal is awesome as well but just when OpenGL really became the platform after mobile disrupted gaming. Even if they don't open up Swift, maybe at least let Phoenix be like a Mono to their .NET and support it. Taking a step back it is crazy how much Apple has influenced and taken over gaming focus in 6+ years. Not only do they control the market and hardware but naturally now the graphic and native software/platforms.
- pvaibhav2 12y agohttp://www.opensource.apple.com http://www.opensource.apple.com Give it time, I think it will be open. It's just not 100% finished yet, despite what Apple says. The Xcode 5.1 sources include clang, lldb etc. We just need to wait for Xcode 6 sources to be up, pretty sure it'll include Swift. Also worthy of note is that most of these packages are under BSD/APSL license, which doesn't mandate Apple to release the sources at all (e.g. the OS X kernel xnu is fully open source). Yet they do it. Google's version of "open" Android development isn't any different, they develop in private and dump the code to AOSP only once a particular version is 'finished'.
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- alimoeeny 12y agoI think these guys are either very naive (comparing apple and google this way) and making such a significant business decision based on such shaky arguments. or this is a PR stunt, in which case who are they targeting, HN?
- CmonDev 12y agoWell, we already know that Swift is not swift at all. Let's see if Phoenix will die and then resurrect.