
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
Learning Resources
Specifications & References
Browser News & Articles
Videos & Presentations
- Meetups - click through for lists of presentations
- Shaders
- Engines
- Machine Learning
- … and many more here
Language bindings for WebGPU
- TypeScript
- C
- webgpu.h - standardized stable header for C and FFI
- C++
- Dawn and Emdawnwebgpu include C++ bindings
- WebGPU-cpp
- Rust - see below
- JavaScript (Node/Deno) - see below
- WebAssembly (C/C++/Rust) - see below
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