Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In fact, Swift is really built on top of Objective-C, somewhat similar to how Objective-C is built on top of C, and somewhat similar to how C is built on top of assembly.

Apparently, this is not exactly the case:

> not [Objective-C] under the hood so much as on the side. Swift has its own (relatively minimal) runtime. [1]

> Swift interoperates with the ObjC runtime. It's not dependent on it. [2]

I believe this means that one day Swift could drop the Objective-C runtime & dependencies, perhaps in favor of a Cocoa evolution that doesn't rely on KVO, selectors, etc.

[1]: https://twitter.com/jckarter/status/475503398087708672 [2]: https://twitter.com/jckarter/status/473848245047656449



Little is known, but here is an interesting writeup on the topic: http://www.eswick.com/2014/06/inside-swift/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: