Live data from Hacker News

“Swift will be open source later this year”

apple.com

121–130 of 573 posts

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

#121

Microsoft open sourced .NET and I don't see queues of people willing to use .NET just because it's open source.

The open sourcing is not fully complete yet. See https://github.com/dotnet/corefx-progress.

Some of us have been waiting for a production-ready way to run .NET on Linux and although it is coming it has not arrived yet.

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

#122
post #38

I will surely be downvoted for speaking so off the cuff, but I haven't really enjoyed swift so far. How has the general developer reception been to the language, not just with respect to obj-c, but also to java or any other turing complete language?

Swift as a language is pretty great, however, the tooling and obj-c interop make it a pain in the ass. It's hard to realize most of the performance benefits when everything you're interacting with requires objc_msgsend or uses NSArray / NSDictionary. As well, it's far less 'scripty' than Obj-c. The type system in swift really leaves something to be desired in terms of typing types. The point of Obj-C was kind of to a…

> The point of Obj-C was kind of to avoid writing the kinds of apps where a great type system would really shine, swift lets you build those kind of apps, but in my opinion most of the time we shouldn't be building them.

Can you clarify this? What is the kind of apps where a "type system would really shine"? How can you avoid writing them?

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

#123
post #23
post #4

No, Apple announces they intend to open source Swift at a future date. That's not the same as doing it.

As far as HN comments go, this one sets a pretty low bar. Is there even one doubt that this will happen? If not, the pedantic distinction between "announce they intend to" and "doing it" is extremely worthless...

Apple's Dylan language is now open source.[1] It's abandonware, but it's open source. (Jobs: "It's dead. We killed it.") The obsolete Macintosh Programmer's Workbench is also open source now. When Apple open sources something, it's usually because they're abandoning it.

[1] https://en.wikipedia.org/wiki/Dylan_%28programming_language%... [2] https://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Works...

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

#124
post #103

Earlier quoted context omitted.

It's perhaps because Linux is (almost) POSIX compliant, but Windows is not? It would make porting to Linux far more easier than to Windows.

Technically it's the reverse, Windows is POSIX compliant, and Linux is almost compliant. However, the non-posix features liunx provides makes it easy to port from the various *nixes where as Windows precise POSIX compliance ensures virtually nothing runs unless the app is written purely to the POSIX spec.

Windows is POSIX compliant? I didn't knew that. But in my defense, wikipedia article states [1] that it was marked as deprecated in Windows 8 and it was removed in Windows 8.1.

[1] http://en.wikipedia.org/wiki/Windows_Services_for_UNIX

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

#126
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.

I am strongly Anti-Apple biased and I fail to see how Apple Open Sourcing is a win only for Apple? This is a ligament proof of the power that Open Source has. Now the deal with Metal and its possible hurting of the Linux game market, since they will move away from OpenGL that is another story.

Apple is now going to use USB-C connectors and now Swift is available in Linux?

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

#127
post #83

Earlier quoted context omitted.

Maybe it is just because WINAPI is different from *nix.

That's a good point. It was probably easier to port it to Linux. I can't see why they would intentionally avoid Microsoft (at least not at this point in their history).

Maybe MS will do it given they're porting ObjC.

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

#128
post #112

Aside from graphics/GUI programming; there is little advantage to Objective C or Swift. The "language" may be "open sourced"; but will the important Cocoa implementations be open sourced? It shouldn't be to too tough to re-implement Swift; unless Apples starting suing people for doing it. The exact meaning of Apples announcement needs some clarification.

I'm unfamiliar with Swift but Objective-C is an excellent language. I much prefer it to C++. Cocoa won't be made Free, no, but perhaps Swift could be used with GnuStep's implementation of the libraries. It's better to not re-invent the wheel.

Yeah. C++ just got too ornate. The "just bolt on objects" to C in "Objective C" ( though a complete hack ) was all that was "needed".

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

#129

Hmm they said they wanted Swift used everywhere for the next 20 years, they're going to make it open sourced and provide builds for iOS, Mac and Linux...but not Windows which is one of the largest operating systems in the world? I'm guessing they really don't want it used everywhere. Though knowing Microsoft they'll take Swift and implement support for it in Visual Studio.

Microsoft is actually building an Objective-C runtime for Windows 10 aka Project Islandwood as a bridge for iOS apps to run on Windows.

https://dev.windows.com/en-us/uwp-bridges/project-islandwood

https://news.ycombinator.com/item?id=9471204

So ironically this announcement might benefit Microsoft a lot.

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

#130
post #85

Earlier quoted context omitted.

For the nth time, this wold put on hold after a patent dispute.

His comment is older than any of the comments mentioning the lawsuit.

It's still uninformed crap that implies Apple reneged on a promise, when in reality they were forcibly stopped.
Post reply on HN