I am very much against the way Cocoa & Cocoa Touch work (a "ViewController" is NOT!!! a controller in the MVC sense), and Interface Builder makes me want to take a high powered rifle to Cupertino, but Swift is definitely a winner now that it's going open source. I rebuilt a dysfunctional OS X application that was ported from iOS (obj-c) from the ground up almost entirely in Swift last year, and really enjoyed working…
“Swift will be open source later this year”
331–340 of 573 posts
Re: “Swift will be open source later this year”
#332Re: “Swift will be open source later this year”
#333Nice to see that Chris (Lattner) got his way. I chatted with him last WWDC right after the main Swift technical session, and he expressed the desire to open source it, but had no idea if he could get it through the powers that be. Supporting the standard libraries on Linux is certainly a surprise, though.
Supporting Linux is a surprise, but I think it's a great move on their part. Think: How many iOS apps are frontends to a server API? And how many of those APIs are running on Linux servers? Swift on Linux means ~all the code for a client-server iOS app can be written in the same language.
If anyone has an old mac that can run modern xCode (you probably know what this constitutes more than me) and wants to donate it to a dedicated open-source developer for completely unspecified future projects, feel free to email me at (my handle on hn)@(googles email service). thanks
Re: “Swift will be open source later this year”
#334Earlier quoted context omitted.
I think the "pulling it off" here is coercing their megacorp organization into tolerating the idea of open-sourcing something they poured so much time and money into developing. This is also why people have been celebrating Microsoft open sourcing things recently.
"By the end of the year" perhaps suggests that Microsoft got out in front and Apple's hand has been forced into changing their roadmap. I suspect that Apple will struggle with to support cross platform development beyond tossing Swift over the transom. Supporting diverse execution environments is not their core competence historically.
If you followed Chris Lattner on the dev forums he always gave the impression that they wanted it open source from the start but had bigger fish to fry. They reimplemented a ton of the compiler multiple times after finding bugs in the existing language specs. Don't read too far into this that microsoft forced anything. For one, we'll never know and this is at best conjecture.
As for supporting diverse execution environments, I'd argue llvm/clang/webkit proves otherwise. Granted they're not "supporting" it in the sense that they're selling support for it but I'm not sure exactly who would meet your criteria right now.
Re: “Swift will be open source later this year”
#335Earlier quoted context omitted.
I'll second that when Apple and MS will support Vulkan on their OSes and open codecs in their browsers. Or to put it another way, when they'll stop using sickening lock-in to make life harder for everyone.
I didn't know that one could only use the browser that was installed on the system.
Re: “Swift will be open source later this year”
#336Earlier quoted context omitted.
"By the end of the year" perhaps suggests that Microsoft got out in front and Apple's hand has been forced into changing their roadmap. I suspect that Apple will struggle with to support cross platform development beyond tossing Swift over the transom. Supporting diverse execution environments is not their core competence historically.
I think this is where companies like Xamarin and JetBrains can pick up the slack as they have with the Microsoft stack. As long as it's (legitimately) opened-sourced, of course.
Re: “Swift will be open source later this year”
#337Earlier quoted context omitted.
It's potentially great news. It means I potentially don't need to own a Macbook Pro and use XCode just to build apps for iOS. Fuck that shit.
Ummm, you still need a Mac to do so. Just like you need Windows to make Windows apps.
Re: “Swift will be open source later this year”
#338Earlier quoted context omitted.
Be interesting to see if they support @objc on Linux, the Apple runtime is difficult to support because it requires the dynamic linker to notify libobjc when an image is loaded.
The Objective-C support on Linux is already great, the compiler handles it well. The problem is the Foundation library isn't ported so you're left using old, unsupported relics from the OpenSTEP project.
[1]: http://www.opensource.apple.com/source/CF/CF-1151.16/Makefil...
Re: “Swift will be open source later this year”
#339Hoping that at some point it gets ported to FreeBSD too!
Re: “Swift will be open source later this year”
#340Apple explicitly said they see Swift as a systems language... curious what people thing about that. Does it compete with C/Rust, or is it just a pipe dream/marketing message?
> Swift is a successor to both the C and Objective-C languages.