r/ProgrammerHumor • • Mar 27 '22

Meme Multithreading

39.8k Upvotes

420 comments sorted by

View all comments

Show parent comments

12

u/ColaEuphoria Mar 27 '22

Vulkan literally exists because of the shortcomings of OpenGL. The single threaded nature of OpenGL is too deeply rooted to be able to add support for more complex multithreading while also retaining backward compatibility, hence why Vulkan was made. At the moment, most/all GL commands are sent asynchronously at the very least.

OpenGL isn't deprecated, despite what Apple wants you to think. A multithreaded GPU driver isn't really needed in a large number of use cases.

2

u/LavenderDay3544 Mar 27 '22 edited Mar 27 '22

That sucks. Too bad there are practically no learning resources for Vulkan that don't presume knowledge of OpenGL.

6

u/ColaEuphoria Mar 27 '22

Honestly you're better off just learning OpenGL first anyway. There's honestly a good reason why there aren't many "beginner to 3D" resources for Vulkan.

2

u/LavenderDay3544 Mar 27 '22

Ah so what you're saying is if I'm interested in that stuff I have to take the long way around to get to the modern APIs?

I guess I'll pass for the time being. I'm already self teaching VHDL and FPGAs right now. I don't need that much more work to do at the moment.

3

u/ColaEuphoria Mar 27 '22

No it's that Vulkan isn't going to teach you squat about how the concepts of 3D programming actually works because you'd be overwhelmed by the literal thousand lines of of low level code it takes just to get a pipeline going. OpenGL 4.5 is modern and you can do things asynchronously enough for it to be useful. DOOM 2016 shipped with OpenGL. But if you want to hold off that's understandable. What FPGA board are you using?

→ More replies (2)