3 ms·
Any resources on how to get started? I tought about using Rust instead of JavaScript for frontend for some time. On the one hand, Rust is a step back, because
by k__ 6y ago
Any resources on how to get started?
I tought about using Rust instead of JavaScript for frontend for some time.
On the one hand, Rust is a step back, because there is quite some things you have to do more than with JavaScript.
On the other hand, Rust has an interesting type system that could save you in the long run and things like pattern-matching and expressions everywhere is even a direct usability improvement over JavaScript.
So it's not, Rust is more low-level than JavaScript, that's why it's bad for frontend, but more, Rust is different from JavaScript some parts are harder, some are easier.
- speedgoose 6y agoI went with the official documentation of rust and rust-wasm. It was okay. I would recommend to use the best tool for your problem. If you want to display a button and manage click events, don't use Rust it's not worth it.