Live data from Hacker News

Swift for Windows

swiftforwindows.codeplex.com

1–10 of 23 posts

Re: Swift for Windows

#3

Newbie here. How is this possible? I guess that most of the libraries UIKit,.. are only available on MacOS and Unix. How can this run on Windows?

It runs without most of the libraries. The Linux version of Swift doesn't have AppKit / UIKit either.

Re: Swift for Windows

#4

Newbie here. How is this possible? I guess that most of the libraries UIKit,.. are only available on MacOS and Unix. How can this run on Windows?

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

Re: Swift for Windows

#5

Newbie here. How is this possible? I guess that most of the libraries UIKit,.. are only available on MacOS and Unix. How can this run on Windows?

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

Apple should drop the bomb at WWDC and announce macOS as open source.

Re: Swift for Windows

#6
post #5

Earlier quoted context omitted.

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

Apple should drop the bomb at WWDC and announce macOS as open source.

Hah. I'm sure they'll do it just after they finally open up iMessage.

Re: Swift for Windows

#7

Newbie here. How is this possible? I guess that most of the libraries UIKit,.. are only available on MacOS and Unix. How can this run on Windows?

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

But it does have things like NSArray, right?

Re: Swift for Windows

#8
post #5

Earlier quoted context omitted.

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

Apple should drop the bomb at WWDC and announce macOS as open source.

[deleted]

Re: Swift for Windows

#9
post #7

Earlier quoted context omitted.

This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.

But it does have things like NSArray, right?

There is an open source version of Foundation, so I don't see why not

Re: Swift for Windows

#10
post #6
post #5

Earlier quoted context omitted.

Apple should drop the bomb at WWDC and announce macOS as open source.

Hah. I'm sure they'll do it just after they finally open up iMessage.

Their online tech, bundled apps, and the Aqua GUI style don't need to be opened up for macOS* itself + the Kits + Finder to be open sourced.

If people could reliably and legally install it on any PC they want it could still cut into Windows' share a lot more than it currently can.

It's not hard to imagine that before long, enterprising people will release custom "distros" of it, say with an up-to-date OpenGL, or even a Wine/DirectX emulation layer baked in so we can just double-click on any .exe and have it run natively.

* As I'm assuming/hoping it's going to be called starting June 13. They could open source "OS X" while keeping the "macOS" brandname for themselves.

Post reply on HN