
WebGPU and WGSL (WebGPU Shading Language) are W3C standards for GPU acceleration on the Web.
There are also implementations of WebGPU in other languages, for both WebAssembly and native applications.
webgpu.org is a work in progress - contribute here!
Implementation Status
Samples & Demos
- WebGPU Samples - sample code and demos of various features and graphics/compute techniques
Learning Resources
Specifications & Documents
Libraries implementing WebGPU
- wgpu - Rust, used in Firefox, Servo, and Deno
- Available for: Rust, C (wgpu-native - contributions wanted)
- Native + WebAssembly
- Dawn - C++, used in Chrome, Edge, and other Chromium browsers
- Available for: C, C++, Node
- Native only
- Emdawnwebgpu - bindings for Emscripten
- WebAssembly only, via Emscripten