News for hackers. Stuff that matters.
Re:I want to talk about WebGPU by api on Wednesday May 03, 2023 @09:15AM (#35802008)
So wait... do we now have a situation where the browser engine has converged with where the Java Virtual Machine was and provided a container to run write-once-run-anywhere desktop apps compiled to WASM?

All we need is the last mile -- progressive web apps -- to include better support for integration with desktop OSes and we have a way to take WASM apps and drag them to the desktop.

The up and coming languages for writing these WASM apps seem to be Go and Rust. Here's a Rust example:

https://www.egui.rs

Re:I want to talk about WebGPU by flohofwoe on Wednesday May 03, 2023 @09:36AM (#35802214)
WebGPU can be used outside of the browser through native libraries:

https://github.com/gfx-rs/wgpu

https://dawn.googlesource.com/dawn

Some non-browser WASM runtimes also have WebGPU support already, but unfortunately only for offscreen rendering or compute tasks (e.g. for writing cross-platform windowed apps as WASM blobs, there's a window system glue layer missing).

Re:I want to talk about WebGPU by Jasper_ on Wednesday May 03, 2023 @01:16PM (#35804996)
> don't know if Apple/WebKit also has open-sourced theirs

https://github.com/WebKit/WebKit/tree/main/Source/WebGPU