Live data from Hacker News

“Swift will be open source later this year”

apple.com

191–200 of 573 posts

Re: “Swift will be open source later this year”

#194
post #64

Did they tell under what license? If they really want to mess things up, they would choose GPL2 without the 'or later' part, but my guess would be BSD, but Apache and Apple's Public Opensource License also are possible ( http://www.opensource.apple.com/apsl/ ).

Swift will probably be integrated into LLVM which uses a mix of MIT and BSD called NCSA. http://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Ope...

Re: “Swift will be open source later this year”

#195
post #193

I wonder where the official open source repo will be hosted?

This is a pretty interesting question: Microsoft has CodePlex, but has also been using GitHub quite a bit lately. Will Apple put Swift as part of http://www.opensource.apple.com/, or start using GitHub? https://github.com/apple seems to be squatted...

Re: “Swift will be open source later this year”

#196
post #177
post #149

Earlier quoted context omitted.

Apps that have a lot of YAGNI features. eg. For some reason your app has the ability to use Postgres instead of SQLite, even though you always use SQLite. eg. For some reason your app supports Postgres/MYSQL/SQL Server because every enterprise you sell to wants to run their preferred database instead of the one that works best with your product. In short 'enterprise' apps.

I'm not trying to be contrarian, but I fail to see what great type systems (or lack of them) have to do with YAGNI or writing poorly architected enterprise apps. Are you saying the main application of type systems is writing overengineered enterprise apps? Do you think type systems have no place in well-architected and/or minimalist apps? Can you elaborate more?

im saying those with a propensity to build such systems invariably choose strongly typed languages and in those languages that is the culture and the language encourages it.

Eg.rewriting base classes to use IWritableStream instead of looking up the write method and calling it.

Re: “Swift will be open source later this year”

#197
post #109

Earlier quoted context omitted.

The language itself is lovely. What parts of cocoa feel essential to you?

Actually, if you want to do backends, nothing is essential from Cocoa itself. I think Foundation might be necessary though, even if you just use Swift structs (Array, Dictionary, etc)

This. I'm SUPER excited to have a Swift backend for a web app, and/or I've been toying around with the core logic of another app. Either idea doesn't need anything in the way of GUI, just the standard library and maybe a few things from Foundation that should be in the standard library anyway (like pseudorandom number generation).

Re: “Swift will be open source later this year”

#198
post #11

Nice 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.

Too little too late. Apple could have got my attention if they had done this from the start, but at this point I find it hard to get excited about this. Half the reason I find myself drawn to a new language is the culture and community surrounding it. You might think this seems silly at first glance, they're programming languages, not fraternities. But hear me out. Golang is a pragmatic crowd. Go into #go-nuts on fre…

Hey, look me up in a year and explain why you were wrong.

Go has been out for 6 years and has less than 10,000 questions on StackOverFlow: http://stackoverflow.com/questions/tagged/go

Swift has 37,000 questions in its first year: http://stackoverflow.com/questions/tagged/swift

I'm a fan of Go. I built my websites in it and I've written a few small apps.

However, you really are overlooking how much of a difference the bigger Swift community will be.

All bets are off if Google officially supports Go on Android.

Anyway, 1,000,000 Swift developers will change everything.

Re: “Swift will be open source later this year”

#199
post #77

Earlier quoted context omitted.

Which is still not "pulling it off", which is my point.

Which is not a very interesting thing to gripe over.. there's nothing wrong with being excited about the announcement, why don't we stop with the pedantry?

There is nothing wrong with being excited about the announcement, but that 1) that isn't what the headline indicated (it's since been changed, but at the time it was something very close to "Apple has open-sourced Swift!"), and 2) the comment I was replying to said Apple had "done it," which seemed to be responding to the inaccurate headline.

I think most people involved in software would realize that the distinction between plan and implementation is extremely important.

Re: “Swift will be open source later this year”

#200
post #10

To be clear: Apple promises they will open source Swift "later this year". There's no source yet.

Apple has a precedent for open source technologies like this.

And let's be honest Swift is great and all but it's hardly the crown jewels of the company they are giving away.

Post reply on HN