3 ms·
> That's a bit of a weird assumption. Apple's statement was the the Swift code and standard library would be open-sourced. What is the 'best stuff' that we're n
by masklinn 11y ago
> That's a bit of a weird assumption. Apple's statement was the the Swift code and standard library would be open-sourced. What is the 'best stuff' that we're not going to get?
I'd expect Foundation and other Cocoa stuff (Core Data and the like) will not be part of the package.
- sneak 11y agoYes, but when people say "Swift" they are talking about the language, not Cocoa.
- MBCook 11y agoUnfortunately many of the the really nice things about working in Objective-C and Swift are actually parts of Cocoa. I imagine the language will feel a bit like you're in a straight jacket without them.
- b00gizm 11y agoWell... yeah, because Foundation and UIKit / AppKit is not part of the Swift stdlib?
- fauigerzigerk 11y agoI think that's the crucial point. If they do not at least include things like networking, multithreading and file system access from Foundation then server-side Swift will either not happen for a long time or it will be very fragmented.
- pixxa 11y agoIt's in Apple's advantage for server-side Swift to take off, and do so quickly and robustly. It also makes little sense (nor is in character) for Apple to agree to open source Swift and not take a leadership role in the effort. One step at a time...
- jahewson 11y agoCore Foundation is already open source and provides threads, networking, and file i/o.
- jahewson 11y agoCore Foundation is open source and has been for at least seven years.
- rsynnott 11y agoAs mentioned elsewhere, Core Foundation is open source (http://www.opensource.apple.com/source/CF/CF-635.19/ http://www.opensource.apple.com/source/CF/CF-635.19/), though IIRC only parts of it currently work on Linux. Calling Core Data "Apple's best stuff" is a serious stretch, if you have ever used Core Data :)