3 ms·
> Metal is C++. Vulkan is C. Yes, that may matter The Metal API is Obj-C or Swift, only the shading language is a C++ variant. A C-API (not C++) would actuall
by flohofwoe 7y ago
> Metal is C++. Vulkan is C. Yes, that may matter
The Metal API is Obj-C or Swift, only the shading language is a C++ variant.
A C-API (not C++) would actually be nice. While ARC is quite convenient it also adds a significant overhead. Most of this overhead can be prevented with quite a lot of handholding, but this also reduces the benefits of high-level languages like Objective-C or Swift, I'd even argue that this handholding is more hassle than having a more explicit C-API to begin with.