Is it possible to build Swift code using the Foundation Framework and target Linux?

I know that it will be released as open source at the end of the year, but I would like to know if I create a framework that uses the Foundation framework, will it still be available for Linux?

The announcement said that they will release Swift and the compiler for Linux. Will the build of the open source version be limited to the Swift standard library?

I would really like to create a web service in Swift to run on Linux, but I need the Foundation Framework (I don't need this to be open source ... just to link it to my code).

Thanks!

+5
source share
1 answer

This should be possible in the future, given that Apple has decided to release the Foundation framework as Open Source, too.

"Foundation project providing core utilities, internationalization and OS independence http://swift.org "

"This project provides an implementation of the Foundation API for platforms where there is no Objective-C runtime."

https://github.com/apple/swift-corelibs-foundation

+5
source

All Articles