Settings

Theme

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

2 points by anon23anon 3 years ago · 2 comments · 1 min read


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 3 years ago

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 3 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection