Re:From scratch OpenGL and shaders with raw Xlib
by pjmlp on Saturday March 30, 2024 @02:02PM
(#39877101)
Just like any middleware engine, no added benefit, with less capable tooling.
[ Parent
| on HN ]
Re:From scratch OpenGL and shaders with raw Xlib
by pcwalton on Saturday March 30, 2024 @03:00PM
(#39877605)
The benefit of wgpu is that you don't have to mess with synchronization the way you do in Vulkan and DX12. This is an enormous productivity booster.
Besides, if you pick one native API (say, Vulkan), then you're still going to go through translation layers on the platforms it isn't native to, so wgpu isn't any different. Or you can write multiple backends for different platforms, which multiplies the amount of work you have to do. Either way, saying that wgpu gives you "no added benefit" is silly.