HACKER Q&A
📣 anon23anon

Can I make an entire web with web assembly and rust at this point?


Even if I could would I want to do this or is it still advised you only use WASM for more of the heavy lifting calculations type stuff?


  👤 aussiesnack Accepted Answer ✓
You can. There are an increasing (if not bewildering) number of Rust-based web frameworks. Some even now come with fine-grained reactivity (a la Svelte, Solid et al) and server-side rendering of components. Chris Biscardi covers a range of them in this yt playlist: https://www.youtube.com/playlist?list=PLWtPciJ1UMuBpRg1KbXqx...

Whether you should or not I have no idea. I've put out a few appeals in Rust circles for examples of substantial real world use, but haven't come up with anything that convincing. It looks to me like it's early days yet, with many competing projects exploring the design space, but none being truly established.

I could be wrong and maybe there are some using these frameworks for real work. But it all smells a bit experimental to me.


👤 Linux_Watcher
There's frameworks you can use like : https://yew.rs

An example for Yew can be found here : https://github.com/jetli/rust-yew-realworld-example-app