3 ms·
WebGPU, unsurprisingly, is much better supported by the web ecosystem right now (just like WASM in the beginning), so you'd have better luck trying to use Cloju
by capableweb 3y ago
WebGPU, unsurprisingly, is much better supported by the web ecosystem right now (just like WASM in the beginning), so you'd have better luck trying to use ClojureScript (as then you can just use the JS interop) for playing around with it. https://codelabs.developers.google.com/your-first-webgpu-app https://codelabs.developers.google.com/your-first-webgpu-app would be easy to get started with and translated to ClojureScript cleanly without issues.
Also, keep in mind that WebGPU only been around since 2021, and wasn't actually enabled in Chrome until this (2023) spring, so it's relatively new tech, not surprising that the ecosystem still feels halfbaked.