7 ms·
Interesting that they rewrote the Foundation library in Swift for the open-source release rather than open-sourcing the ObjC one and bringing along the ObjC run
by mwcampbell 11y ago
Interesting that they rewrote the Foundation library in Swift for the open-source release rather than open-sourcing the ObjC one and bringing along the ObjC runtime. I wonder if this means they still believe the ObjC runtime and Foundation library are still worth keeping proprietary, or just that this is a step toward phasing out ObjC.
- pjmlp 11y agoIf you watch the WWDC 2015 videos, the only ones that used Objective-C instead of Swift were related to the language improvements. I guess that says it all.
- mayoff 11y agoThey didn't rewrite most of Foundation in Swift, at least not yet. If you look in the files, they are full of calls to NSUnimplemented().
- mnem 11y agoInteresting to see what they do have and what they don't have: https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md https://github.com/apple/swift-corelibs-foundation/blob/mast...
- tvon 11y agoI believe it is meant as an abstraction layer for non-OSX systems.