Live data from Hacker News

“Swift will be open source later this year”

apple.com

351–360 of 573 posts

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

#351
post #268

Earlier quoted context omitted.

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…

Why would I ever care about Go for Android when I can write apps in Kotlin? Kotlin is fully interoperable with Java. I don't have much experience with Swift but Kotlin is so nice. It has the best features from numerous languages such as Ruby. C#, etc. It's being made by Jetbrains who makes the the core of Android Studio so it will have support. Kotlin is also nearly as fast at runtime as Java with a tiny 200kb runtim…

I found this comparison between Swift and Kotlin interesting, and the point that it would make switching between Android and iOS development easier:

http://blog.translusion.com/posts/swift-is-kotlin/

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

#353
post #6

I remember a thread on HN [1] from a few months ago talking about how apple was never going to do this. I'm so glad they were able to pull it off! Good for you, Apple! [1] https://news.ycombinator.com/item?id=8488808

Or Apple saw that and decide to change its mind. Sometimes companies change their minds this way, like how Microsoft changed its mind on the banning of DVDs for Xbox, even though they never "officially" said they would do that before the announcement of the Xbox One, but it was strongly "rumored" they would do that. I'm sure that's what they intended, but the outrage was too big to let it be.

... Yes, Apple makes most of its decisions on open sourcing stuff based on reading HN. Of course.

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

#354
post #249

Earlier quoted context omitted.

QML is akin to swift. Let's say, QML is to Qt as Swift is to Obj-C + native GUI libraries. The purpose and syntax of QML and Swift are similar, too. PS: Qt is not only a GUI framework. It's a cross platform C++ framework.

True that Qt is a full C++ framework (my bad on that, i should know i use it everyday), but swift is nothing like QML. QML is just a markup language that is interpreted by an engine written in C++, swift is a whole programming language that is compiled. It would be more fitting to compare C++ and swift than swift and Qt.

Yep, sorry about that. See https://news.ycombinator.com/item?id=9682654

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

#355
post #170

Earlier quoted context omitted.

So here's the thing. They will release Apple Music for Android... and there's full stdlib of Swift support for Linux? Could it be that the Android app is partly Swift?

I wouldn't read too much into that. Android ships with Bionic libc, which is different from the glibc that is usually shipped in a Linux distro. There are definitely some differences between the two. Plus the average Android app is very far from the average Linux app. If they were aiming at supporting Android, I think they would have said that instead of Linux.

Possibly talking about different things when you say "stdlib"?

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

#356

Earlier quoted context omitted.

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.

CoreFoundation has a MakefileLinux[1] for versions since 635 (corresponding to 10.7, if I'm not mistaken) — anybody know the status of that? It obviously relies on Clang (as it uses various extensions), but does it build, is it useful? [1]: http://www.opensource.apple.com/source/CF/CF-1151.16/Makefil...

It's not all of CF and some of the ObjC glue is missing, particularly in the last few drops. Apportable put most of if back in though.

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

#357
post #31

Earlier quoted context omitted.

Open Source wins! Seriously can't tell you the fights just 8 years ago in conventions with hundreds of librarians where most of them thought Free Software was the devil and hackers all had the key to destroying anything Open Sourced. So can we finally say that Hell has Frozen Over? Microsoft Open Sources Parts of Visual Studio and releases Linux Software. Apple open sourced their language and it will work on Linux.

Open Source did not win. In fact it destroyed a lot of potential markets. With this move Apple is dragging more and more developers that would be interested in Go/ Java (aka Android world) to its net. This is a win for Apple only.

> more developers that would be interested in Go/ Java (aka Android world)

What do you mean by "Android world"? You can't write Android apps in Go (at least not without going through JNI).

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

#358
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/ ).

They said "permissive". APSL is far from permissive.

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

#359

Earlier quoted context omitted.

> Apple has a precedent for open source technologies like this. They also have a precedent for being less than friendly towards FOSS[0][1][2][3], despite the way they try to present themselves otherwise by listing their open source contributions prominently. Note that the author of these comments, saurik, is Jay Freeman, the creator of Cydia. Key quotes include: > Apple has simply never been in compliance with the LG…

Those are from 4 years ago. Something more recent would be useful. Especially since their contributions to LLVM, GCD, WebKit2 have been quite notable.

> Those are from 4 years ago. Something more recent would be useful.

The most recent one is from 55 days ago...

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

#360

Earlier quoted context omitted.

Or Apple saw that and decide to change its mind. Sometimes companies change their minds this way, like how Microsoft changed its mind on the banning of DVDs for Xbox, even though they never "officially" said they would do that before the announcement of the Xbox One, but it was strongly "rumored" they would do that. I'm sure that's what they intended, but the outrage was too big to let it be.

Apple is never going to send me a free MacBook Pro and Thunderbolt display. Never.

Well, not with that attitude. It's funny because approximately right now they are giving out free hardware --- to Apple Design Award winners.
Post reply on HN