SwiftAndroid / swift

Port of Apple's reference Swift toolchain to Android; doesn't quite work yet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can share info about how to start porting to Windows..

oscarbg opened this issue · comments

Hi,
maybe some effort porting to Android can be shared for porting to Windows platform..
if yes can you share some plan on how to start a Swift port to Windows?
Would be even better if you can get interest in doing an early swift Windows port

I think that people are assuming, for better or worse, that Microsoft is going to do the Windows port. It's probably not the best idea to depend on them for that, but I haven't heard of any community efforts in that direction yet.

@oscarbg there would probably be even more involved with a Windows port than this Android port, because Linux (including Android) and OSX / iOS are related by their shared UNIX heritage (making it easier to use much the same processes across the board). Windows is quite a different ecosystem with different tools and processes.

Does the Swift compiler even build on Windows? I tried building it on Windows (twice) but gave up both times since the configure script is a Unix shell script and I'm not sure what compiler it needs (LLVM can build in Visual Studio but I have no idea whether the Swift compiler can.)

(The configure script starts in Mingw and Windows Python 2, but I don't think I managed to get it to build anything)

By the way, you should also ask the swift-dev mailing list since they would know more about Windows ports.

I think this discussion isn't really relevant to the swift port and is more a topic for the swift.org mailing lists. Closing for now..