hsr-optimizer
hsr-optimizer copied to clipboard
[Tech debt] Tooling for transpiling javascript/other into WGSL for WebGPU implementation
Motivation
Currently the WebGPU implementation is underway but the trouble is we have to maintain two copies of the codebase. One in js and one in WGSL.
Objective
Ideally we only have to write one version of code and have it run in both environments. Options include transpiling javascript into WGSL, or writing everything in Rust and compiling that down to WASM and WGSL.