by pjmlp · 1y ago · 0 comments
Other than that, yeah doing by hand what C++ and Objective-C do automatically.
Secondly, Apple and Microsoft, do just fine with Objective-C and C++ for their video codecs, without having to manually implement OOP in C.
Also the article doesn’t actually mention OOP. You can use polymorphism without fully buying into OOP (like Go does).
The great thing about C is its interoperability, which is why it’s the go to language for things like codecs, device drivers, kernel modules, etc.
Additionally Metal is implemented in Objective-C, with Swift and C++ bindings.