TLDR Web Dev · MISCELLANEOUS
FROM GLSL TO WGSL: THE FUTURE OF SHADERS ON THE WEB
Summary from the TLDR Web Dev newsletter
This article compares the new WebGPU Shading Language (WGSL) with the established GLSL. WGSL seems to be the future of shaders on the web, especially with the upcoming release of WebGPU. It introduces new features like explicit types, struct declarations, and function declarations that follow Rust conventions, which allows it to be more robust overall.