WebGPU is the future standard for graphics (GPU) and general purpose computing (GPGPU) in the web browser.
It is the successor of WebGL and based on open W3C standards agreed upon by all common web browser vendors. Still being in its early days, it is currently (mid-2024) available in Chrome, Firefox Nightly, Edge, Safari Technology Preview and Opera. WebGPU provides a uniform abstraction over different GPU/GPGPU interfaces such as DirectX, Vulkan and Metal while promising near-native performance with Javascript plumbing. Shader support is provided through WGSL.
Since nowadays many app developers decide to ship whole browsers anyway why not using WebGPU, WebWorkers and WebAssembly for cross-platform applications. The WebWorker API adds concurrency based on the message passing pattern.