r/GraphicsProgramming • • Oct 20 '26

Question What do you think of vulkan?

Is it worth learning it as someone who is still relatively a beginner/early mid level c++ programmer for graphics or are other alternatives better?

32 Upvotes

54 comments sorted by

View all comments

Show parent comment

10

u/EC36339 Oct 20 '26 edited Oct 20 '26

I used to say this myself, but not any more.

The problem with OpenGL is that, unless you use it in an oldschool (and outdated) way, it is very difficult to correctly target modern hardware with it, and some things, such as proper parallelization of CPU and GPU work, are almost impossible to achieve.

And using OpenGL "the old way" can give beginners a false impression of how to program GPUs.

It does work if one hust wants to learn graphics programming, but even then, there are better alternatives.

5

u/StriderPulse599 Oct 20 '26

Yeah, no. OpenGL works perfectly fine on modern hardware.

The problem are cracks that show the more you push it. And let's face it, how many people using graphic API will actually make a game, let alone game that requires that extra performance?

1

u/EC36339 Oct 20 '26

These are all defensible arguments for why OpenGL isn't too bad, but none of them is an argument to choose OpenGL over something else when you have a choice.

2

u/StriderPulse599 Oct 20 '26

OpenGL has better driver stability, especially on mobile. You don't need to worry about your performance fluctuating across drivers/architectures or vendor specific optimizations.

OpenGL vs Vulkan is essentially nailgun vs hammer. Nailgun gets the work done fastest, but nails have size limit and might not handle some awkward angles. But it still gets a job done.

2

u/ANSystemTech Oct 20 '26

I heard this was the main issue with opengl that it’s not really modern

2

u/Ratosson Oct 20 '26

How about doing a month of openGL first to see if this is even anything you want to do before dedicating?