Swift 3.0 Preview 1 Linux release and Foundation


(Marcin Krzyzanowski) #1

Hi,

Thank you for a great job on Swift 3 preview 1 release.
Today I noticed that Linux release and macOS release is quite different.
I thought that Linux and macOS release will have Foundation in it, but
Linux seems missing this part.
Maybe I'm missing something but structures like "Data" (NSData
equivalent)) are missing on Linux (Ubuntu 14).

I'm very interested in cross-platform code compatibility, and I had
this assumption that we can rely on stdlib and Foundation in Swift 3
releases.

Swift 3.0 Release Process document
https://swift.org/blog/swift-3-0-release-process/ mention that "For
Linux, Swift 3 will also be the first release to contain the Swift
Core Libraries."

What I'm missing?

Regards, Marcin.


(Brent Royal-Gordon) #2

Today I noticed that Linux release and macOS release is quite different.
I thought that Linux and macOS release will have Foundation in it, but
Linux seems missing this part.
Maybe I'm missing something but structures like "Data" (NSData
equivalent)) are missing on Linux (Ubuntu 14).

About 15 minutes after you posted, Tony Parker announced that a branch with this work will be published later today, and they're hoping to merge it in the next couple weeks. So hang on!

<https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20160613/000734.html>

···

--
Brent Royal-Gordon
Architechies


#3

It’s easy - This release isn’t finished. It’s not even beta, it is only a developer preview. I guess the completeness will get better with all following previews.

cu, Jan

···

On 14.06.2016, at 11:46, Marcin Krzyzanowski via swift-users <swift-users@swift.org> wrote:

Hi,

Thank you for a great job on Swift 3 preview 1 release.
Today I noticed that Linux release and macOS release is quite different.
I thought that Linux and macOS release will have Foundation in it, but
Linux seems missing this part.
Maybe I'm missing something but structures like "Data" (NSData
equivalent)) are missing on Linux (Ubuntu 14).

I'm very interested in cross-platform code compatibility, and I had
this assumption that we can rely on stdlib and Foundation in Swift 3
releases.

Swift 3.0 Release Process document
https://swift.org/blog/swift-3-0-release-process/ mention that "For
Linux, Swift 3 will also be the first release to contain the Swift
Core Libraries."

What I'm missing?