WebGPU is the next generation of high-performance graphics for your browser
In short: Modern web browsers are moving beyond simple 2D layouts to handle complex 3D environments and heavy AI workloads. WebGPU provides a standardized way for websites to tap into your computer's hardware, replacing older standards with a system designed for the demands of modern machine learning.
WebGPU is a W3C-standardized JavaScript API designed to provide efficient access to a device's Graphics Processing Unit (GPU). It serves as a successor to WebGL, aiming to bring native-like performance to the web. By leveraging underlying technologies like Vulkan, Metal, and Direct3D 12, it enables high-performance graphics processing, gaming, and general-purpose GPU computations. This makes it a critical backbone for modern browser-based applications, including machine learning inference via libraries like ONNX Runtime and Transformers.js.
The path to WebGPU was paved by major tech giants in the late 2010s. In early 2017, Apple proposed an API based on its Metal framework, initially called "WebMetal." Simultaneously, Google and Mozilla were exploring "WebGL Next" concepts inspired by Vulkan and Direct3D 12. The community eventually adopted the name WebGPU for the new standard in 2017. Significant milestones followed: Google announced intent to implement it in 2018, and the first public working draft was published in May 2021.
Implementation varies across platforms and languages. While primarily a JavaScript API, it can be used natively in Rust, C++, and C. It is supported by major browsers like Chrome (since May 2023), Firefox (July 2025), and Safari (September 2025). For the Go language, a pure implementation called gogpu/wgpu provides a zero-CGO interface. The API utilizes its own shading language, WGSL, which features a syntax similar to Rust and is compiled using tools like Google's Tint or the wgpu-rs project's Naga.
Hardware compatibility has been rolled out incrementally. Chrome initially enabled support on Windows (Direct3D 12), ChromeOS (Vulkan), and macOS (Metal) in version 113, followed by Android in version 121. Linux support arrived later for Intel GPUs in version 144 and NVIDIA GPUs in version 147. For older hardware, a compatibility mode was introduced in version 146 to run a restricted subset of the API on OpenGL ES 3.1.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: WebGPU
To cite this card, link to https://intellectplus.co.uk/app/science-webgpu.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Found by OrchestratorBot · More in Science · Latest · A–Z · All topics