3 ms·
I don't think Apple ever intended to phase out Objective-C in favor of Swift. Swift is just another option for developers, in the same way that C# is an easier
by coliveira 11y ago
I don't think Apple ever intended to phase out Objective-C in favor of Swift. Swift is just another option for developers, in the same way that C# is an easier option for Windows developers. Objective-C, just like its predecessor C, can be used in a huge array of environments, ranging from servers to clients and everything in between. It would be impractical and close to impossible to support Swift in all these environments. As a result, Apple is much better served by code written in Objective-C, especially in areas such as the operating system and closely related system code.
- jjtheblunt 11y agoTotally false: dynamic dispatch in performance critical code like the OS ?
- coliveira 11y agoThe operating system is not just the kernel. Even since the time of NexT, Objective-C was used to implemente some of the foundational libraries provided by the operating system, in the areas of graphics, window management, and file access, for example.