3 ms·
Objective-C is a great language that introduced automatic reference counting among other things. Unfortunately it is tied to C, and modern safety measures preve
by coliveira 2y ago
Objective-C is a great language that introduced automatic reference counting among other things. Unfortunately it is tied to C, and modern safety measures prevent developers from using C in application code. That's why Apple forced developers to use Swift, which has little new to offer other than being tied to Apple frameworks.
- mananaysiempre 2y agoI don’t think that’s really fair to Swift. It has some really interesting things to say about devirtualization, compiling generics, and even memory management. It’s not necessarily a better language than Objective-C for every task, but it’s certainly very different.
- pjmlp 2y agoIt might have introduced some to reference counting, but that is all. The algorithm is as old as Lisp, and the "automatic" part is a well known compiler optimization pass, when reference counting is used for automatic memory management.
- frizlab 2y ago> other than being tied to Apple frameworks Swift is not tied to Apple frameworks. At all. It is fully compatible with them because of its full ObjC compatibility, but that’s it.