logoalt Hacker News

tialaramexyesterday at 10:08 PM2 repliesview on HN

What a mess. A standard library and then apparently on top of that a Core and that's where they put a Foundation, you can imagine Apple architects arguing with the elevator contractors, "No, no, the Ground floor of our building is below our Foundation, it's very straight forward..."

But although that's enough for me to want no part of it, that's not what I was gesturing at. When we dig under the "Foundation" to look at the standard library we find that contrary to your assurance what works and how it works varies from one platform to another, just Apple only care about Apple platforms and so as usual they don't think that's worth mentioning.

They do have this information, they just don't publish it on their Apple pages because they're Apple and yet they insist this counts as the Swift documentation - and that should be all the reason you need not to take such "support" seriously.


Replies

frizlabyesterday at 10:36 PM

At that point I’m gonna need specific examples, because such differences between platforms are getting more and more sparse…

Also I’m not sure what the Core thing you’re talking about even is.

LoganDarktoday at 6:15 AM

Foundation is on top of Core Foundation, not "Core". Core Foundation is a C++ version of certain Foundation primitives for operating system services that can't depend on the Objective-C runtime.

The Swift standard library would be built on top of that, not the other way around.