4 ms·
> The "design of WebGPU" is a problem. It's designed for the web to be secure and sandboxed so the API design reflects that. The page you linked clearly states
by adwn 2y ago
> The "design of WebGPU" is a problem. It's designed for the web to be secure and sandboxed so the API design reflects that.
The page you linked clearly states that wgpu-hal's API is extremely unsafe and skips many checks in order to reduce overhead. So while "secure and sandboxed" explains why wgpu wasn't chosen, it doesn't explain why wgpu-hal wasn't chosen.