Hacker News new | ask | show | jobs
by valenceelectron 1353 days ago
Vulkan is not limited to Linux at all. In fact, it is an open standard made by the same people as OpenGL.

OpenGL was a high level interface, so to speak. And due to this, it made some things easier and other things harder. Most notably, you didn't have the low level access some people/projects wished for. Some time ago, there was a push for a more low level interface and Vulkan was supposed to be the platform-independent, open solution. Naturally, when your interface is lower level, you also need to provide more boilerplate. So Vulkan is slower to get up and running but that's not a particular fault of Vulkan I'd say. The story around it is rather interesting. It is based on AMD Mantle which was discontinued on behalf of Vulkan. Unfortunately, not every vendor was pleased with an open interface. Microsoft released DirectX 12 and Apple released Metal as direct competitors with very similar (if not identical) goals, fragmenting the whole landscape in the process.

Today, Vulkan is supported on Linux and Windows. Apple provides GPU drivers for macOS themselves (not the GPU vendor) and never implemented Vulkan support to not cannibalize its own Metal (I suppose). However, there exists MoltenVK, an open project that creates a translation layer from Vulkan to Metal.