5 ms·
The standard library stopped being bundled with Swift apps when ABI stability was achieved. They are now provided as dynamic libraries alongside OS releases, so
by rockbruno 2y ago
The standard library stopped being bundled with Swift apps when ABI stability was achieved. They are now provided as dynamic libraries alongside OS releases, so you can only use Swift features that match the library version for a particular OS version.
- beeboobaa3 2y agoYikes. So after bundling their development tools with their operating system they are now also bundling some language's stdlib with the operating system? Gotta get them fingers in all of the pies, I guess.
- KerrAvon 2y agoEvery Unix and most Unixlikes have always done this. It’s standard practice in that world.
- beeboobaa3 2y agoWhich distro ships the go standard library? Also unixes let the sysadmin install additional libraries. How do I `apt install libswift2` on an iPhone?
- saagarjha 2y agohttp://cydia.saurik.com/ http://cydia.saurik.com/
- beeboobaa3 2y agoHow do I install this on my iPhone while retaining support from Apple?
- MBCook 2y ago> they are now also bundling some language's stdlib with the operating system much like libc, isn’t it? Apple writes tons of their own software in Swift and the number keeps going up. They’re trying to move more and more of the system to. It’s going to be loaded and in every system whether a user uses it or not. No different from the objective-C runtime.
- jackjeff 2y agoAbsolutely agree. On Windows the equivalent would be MSVCRT which is sometimes shipped with the OS and sometimes not (depending on the versions involved). Sometimes you even need to worry about the CRT dependency with higher level languages because their “standard librairies” depend on the CRT. So if you see that being installed with Java or C# or Unity, now you know why.