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

Show parent comments

1

u/hishnash Dec 14 '25

What do you mean locked down? I would not consider metal any more locked down than any other graphics api.

I am not sure metal is stagnant either, We have seen a lot of rather huge changes with MTL4.

As to if you recommend it that depends the platform your looking to build for of course.

However if you looking to for a first api top tart learning graphics dev with MTL is a great place to start.

Since you can start out with higher level concepts leaving thing like memory and tracking up to the driver and then gradually adopt lower level untracked models it is a great api for new-comers to the industry.

And more those with more experience who just want to play around with new ideas and do not want to spend 3 weeks re-implementing a memory manager when they are interested in a new way achieving some new visual effect. Once you lock down the effect sure you can port it over to all the apis you need to target but MTL is a great place to start out as a playground domain.

1

u/sadgandhi18 Dec 14 '25

With all due respect, it's precisely the details about memory and the bottlenecks in dealing with them that are what beginners should learn. If all you want is something nice on the screen, why bother with learning a graphics API? These weren't meant to be easy, or simple. You can't magically evaporate complexity without giving up power/shifting that complexity elsewhere.

Why don't people understand this simple fact? Recommending Metal to beginners is dooming them to learning to build for a locked ecosystem, with barely any variety of opportunities. Let them learn OpenGL or DirectX for that matter.

Lastly..

The Metal api isn't locked down? That's news to me! So surely it's readily available to be used on different platforms! Oh it's not? That's fine, atleast we have some common intermediate compiled version of it? Oh.

2

u/hishnash Dec 14 '25 edited Dec 14 '25

> With all due respect, it's precisely the details about memory and the bottlenecks in dealing with them that are what beginners should learn.

yes but being able to learn these progressively after they get the first trig on screen makes it a lot easier.

With metal you can migrate from tracked to untracked bit by bit. This makes it much more approachable for beginners.

The learnings you get form using Metal can be transferred to any other api. You not learning the api your learning the concepts, and the underlying mathematics. This is all very transferable.

DX, GNM, GNMX and NVN are just the same metal with respect to the platform constraints.

1

u/sadgandhi18 Dec 15 '25

There's two parts of graphics.

The api, that you learn. And the general 3d math with the general 3d pipeline. The latter is a must have, and you will not be able to use any api without it, but the former is not completely swappable, if you start with it to learn the concepts itself.

You can't transfer metal's specific api to another one. You'll have to learn how the new specifications gets things done.

We're just arguing over definition and results. You tie learning 3d to the api itself, I claim you learn these independently, and merely use the api for application of your knowledge.

1

u/hishnash Dec 15 '25

While api knodelge is not completely swappable it is very portable, the api surface for graphics apis it nat large.

There is very little that is metal specific that does not have some analogy in DX or VK.

There is a good bit that is TBDR gpu specific once you get into advanced optimisation but that is very applicable to mobile VK dev.