Comment by pjmlp
9 days ago
As always, the only two positive things about WebGL and WebGPU, are being available on browsers, and having been designed for managed languages.
They lag behind modern hardware, and after almost 15 years, there are zero developer tools to debug from browser vendors, other than the oldie SpectorJS that hardly counts.
This is kind of ridiculous take
You can use wgpu or dawn in a native app and use native tools for GPU debugging if that's what you want
You can then take that and also run it in the browser, and, you can debug the browser in the same tools. Google it for instructions
The positive things about WebGPU is it's actually portable, unlike Vulkan. And, it's easy to use, unlike Vulkan.
WebGPU is JavaScript + WebGPU, it has nothing to do with wgpu Rust extensions for native coding, other than sharing a similar API surface.
The very fact that you are suggesting this as workaround proves how bad the tools are.
WebGPU is not just JavaScript + WebGPU. Whole native like apps are being written using WGPU and Dawn which then can be compiled for the Web.
Here's one:
https://unity.com/products/unity-studio
Here's another
https://www.adobe.com/products/photoshop/online.html
They shipped. So I guess waiting tools wasn't required