2 ms·
While better websites are nice, what people need is lots better sample code. Everything Vulkan currently is contaminated with C++ Object-itis Global State whic
by bsder 3y ago
While better websites are nice, what people need is lots better sample code.
Everything Vulkan currently is contaminated with C++ Object-itis Global State which makes everything look like old-school OpenGL code in spite of the fact that's not the way anyone uses these modern APIs.
With Vulkan, especially, this is a real crime since the C API is incredibly well done. (This is especially infuriating in the case of the Vulkan Memory Allocator which requires C++).
For example, timeline semaphores in Vulkan simplify so much, yet very little of the sample code uses them because they are relatively new. Dynamic state, similarly. Subpasses need to die unless you are on mobile and are verifiably GPU performance bound.
- pjmlp 3y agoI for one, am more that pleased that Khronos has finally joined the 21st century and started offering C++ bindings to their specifications.