3 ms·
If anyone’s exploring Rust + React, I’ve been building something similar on the rendering side. react-vello [1] exposes Vello (a Rust GPU renderer) as a React
by mblode 8mo ago
If anyone’s exploring Rust + React, I’ve been building something similar on the rendering side.
react-vello [1] exposes Vello (a Rust GPU renderer) as a React renderer via WASM + WebGPU, so you can draw shapes and text declaratively while Rust handles the rendering in the browser.
[1] https://github.com/mblode/react-vello https://github.com/mblode/react-vello
- ipnon 8mo agoVery nice, I think a Rust server using a WebSocket to send MorphDOM diffs to the browser would be very well received.
- skiniks 8mo agoThis is very cool!
- ChadNauseam 8mo agoRust + React is a beautiful combination. For my project, I use Rust for the actually complicated logic that needs to be correct and performant. And then I just use React for the UI. It works pretty great. The communication between the two with wasm-bindgen and tsify is just so easy. It's almost as if they're the same language. It's really crazy, honestly. A feat of engineering. React Vello seems super cool, by the way. Thanks for sharing it!
- satvikpendem 8mo agoSimilar to Dioxus Native I imagine?
- pdyc 8mo agodemo does not works on firefox+linux
- mblode 8mo agoIs there a way to enable WebGPU flag on Firefox Linux?