Re:Apple’s use of Swift and SwiftUI in iOS 14
by pjmlp on Monday September 28, 2020 @03:01AM
(#24613733)
> Metal is written in Objective-C, is based on Foundation, and makes use of Grand Central Dispatch to synchronize between the CPU and GPU.
https://www.objc.io/issues/18-games/metal/
C++ is used for Metal shaders.
My point was that Swift is better than pure Obj-C for systems programming. Admittedly, that might be a poor comparison, since Obj-C was specifically built to be used alongside C as the systems language.
But yes, I think the ultimate goal is that Swift will be better than C/C++ for systems programming too. It still has a ways to go, and there are a lot of libraries that will need to be written, but I do think it's possible.