Tag
The beta of `wgsl-rs`, a Rust-to-WGSL transpiler, has been released on crates.io, covering work like operator precedence fixes, vector equality handling, literal-suffix inference, and runtime wgpu codegen from an IR.
The article explains subtle differences in struct layouts between Rust and WebGPU, and introduces a unit testing approach using naga to verify memory offsets for safer GPU compute shader configuration.
Eyal Toledano built an LLM inference engine using pure WebGPU/WGSL, running on-device in browser and Node without API keys, and is seeking peer review.