hsr-optimizer icon indicating copy to clipboard operation
hsr-optimizer copied to clipboard

[Tech debt] Tooling for transpiling javascript/other into WGSL for WebGPU implementation

Open fribbels opened this issue 1 year ago • 0 comments

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.

fribbels avatar Mar 03 '24 07:03 fribbels