r/GraphicsProgramming • • Apr 15 '24

Is Vulkan a failed API?

I know it's modern and can do things that older APIs like OpenGL can't but how many developers are benefiting from the added verbosity and complexity?

The OpenGL reddit has more members and higher engagement than the Vulkan reddit despite the fact that OpenGL hasn't been updated in 7 years.

Personally, I would prefer if an API like Metal had cross platform support, it's modern and far less verbose.

0 Upvotes

62 comments sorted by

View all comments

0

u/[deleted] Apr 15 '24

[deleted]

3

u/DrDumle Apr 15 '24

Wasn’t Apple the ones who started the WebGPU initiative?

7

u/IceSentry Apr 15 '24

Yes, but they keep making the spec worse by refusing to use things that are used everywhere else like SPIR-V. They like the idea of webgpu but they don't seem to care about cross platform features. Pretty much every time you see something weird or too restrictive compared to vulkan or directx in the spec it's because of apple.

1

u/DrDumle Apr 15 '24

Was it apples fault they didn’t go with glsl? I remember something about webgpu having a weird shader language. Was that apples doing?

2

u/IceSentry Apr 16 '24

Yes and no, webgpu couldn't use SPIRV because of apple, but deciding on WGSL wasn't just apple's decision.

3

u/AssignedClass Apr 15 '24 edited Apr 15 '24

Apple also started WebKit. You'd think they'd be more supportive of browser based products, but they kinda aren't. They want everyone on the app store to strengthen their walled-garden business model.

Major tech companies are literally so large that they can pour resources into expensive projects like this that don't fundamentally align with the direction that the C-suite executives want to take the company.

It's still smart on their part. If WebGPU really takes off, well they got people literally defining the term "industry expert" working for them and will have the capacity & foresight to really support it, but Metal gives them something better for vertical integration.

2

u/DrDumle Apr 15 '24

How important is apples cooperation for WebGpu? Couldn’t webgpu implement things without apples help?

1

u/AssignedClass Apr 15 '24

That's a good question... someone with more knowledge on the inner workings of the W3C would have a much better answer for you.

My answer with my very limited understanding is "Yes WebGPU would still be a thing even without Apple", but I have to believe it would be a big impact if Apple suddenly decided to put no resources towards it, but I'm not exactly sure on all the specifics.