News for hackers. Stuff that matters.
Re:An In-Depth Look at WebGPU by rootw0rm on Wednesday February 08, 2023 @12:34AM (#34704515)
That's fair, but if you're looking at say, coding up many many lines of Vulkan boilerplate for a new project, it does kinda make sense to look into WebGPU
Re:An In-Depth Look at WebGPU by pjmlp on Wednesday February 08, 2023 @01:33AM (#34704873)
Looking into middleware is a much more sane option.
Re:An In-Depth Look at WebGPU by flohofwoe on Wednesday February 08, 2023 @04:19AM (#34705918)
WebGPU's native libraries are essentially middleware to abstract over the common subset of Vulkan, D3D12 and Metal.
Re:An In-Depth Look at WebGPU by pjmlp on Wednesday February 08, 2023 @04:26AM (#34705958)
That is a wrapper library, middleware means more richer tooling and development experience.

At very minimum something like Ogre3d or Open Inventor.

Re:An In-Depth Look at WebGPU by flohofwoe on Wednesday February 08, 2023 @04:31AM (#34705985)
...which is then often too opinionated and bloated for specific use cases. E.g. nobody in their right mind would use Unity for a simple 3D viewer application.
Re:An In-Depth Look at WebGPU by pjmlp on Wednesday February 08, 2023 @04:36AM (#34706036)
You would be surprised.

No one outside AAA studios cares about Vulkan, and Khronos had to come up with ANARI to try to move visualization companies out of OpenGL/DirectX into Vulkan.

Re:An In-Depth Look at WebGPU by flohofwoe on Wednesday February 08, 2023 @04:46AM (#34706118)
Nobody in their right mind would use 'raw' Vulkan either for a simple 3D viewer. But that's exactly why thin wrapper libraries are important.
Re:An In-Depth Look at WebGPU by Narishma on Wednesday February 08, 2023 @10:55AM (#34709823)
A simple 3d viewer should just use WebGL. Low level APIs are targeted at large game engine developers.