Hacker News new | ask | show | jobs
by SpaghettiCthulu 1311 days ago
Would you say modern alternatives are any better? (looking at you, Vulcan)
1 comments

I spent one weekend going through the official Khronos tutorial for Vulcan, and wrote (understood, then typed -- as opposed to copy+pasted) the bare minimum necessary to get a triangle on the screen: it came to 900+ lines of code.

Vulcan is not at all like an "enhanced OpenGL" -- it's for experts to leverage while designing the next generation of high-performance graphics libraries.

Triangle-on-screen using OpenGL is on the order of ~100 lines:

https://github.com/genpfault/glfw-mcve-base/blob/master/src/...