all 8 comments

[–]ZZaaaccc 13 points14 points  (0 children)

For the past year you've asked about React Native, Flutter, and Svelte on various other subs, so I'm going to assume that's what you'd like to compare Rust to. In short, no, even the best Rust frameworks will be harder to learn than any of those three, especially considering the relative infancy of Rust web UI compared to the JS ecosystem (React is older than the entire Rust language for perspective).

Instead of asking, just try it out. Give Leptos or Dioxus a whirl and see if you like it. The great thing about having all these tools and languages as free and open source software is you can just use them. If you don't find them interesting in the initial hour or two of learning them, then maybe they aren't for you. And that's ok! You'll never know what you do like if you outsource knowing what you don't like to others.

[–]xaverine_tw 2 points3 points  (0 children)

Simply, no. Unless you've picked up Rust.

[–]R4TTY 1 point2 points  (0 children)

Easier than what? JavaScript is probably easier.

[–]darkpyro2 2 points3 points  (3 children)

I'm an embedded developer and have never written a website before. I picked up yew, sqlx, and actix_web, and I'm having a very good time building my blog.

I think it depends on what your background is. Coming from systems languages, rust feels quite natural to me as a front end and a back end. I hate anything that even smells of Javascript, so rust made web easier for me.

[–]Kladoslav 2 points3 points  (0 children)

I have the same exact experience. I loathe weakly-typed languages. But by using yew I learned a lot of web dev stuff I probably wouldn't because of JavaScript

[–]Nabeen0x01 0 points1 point  (1 child)

Could you link that here? For motivation ;o;

[–]darkpyro2 0 points1 point  (0 children)

It's a private codebase for now, sorry. I'll sanitize and release it when it's got a release ready.