A few days ago I started to learn Elm with the goal to create a new front end for lemmy.
At the same time I want to create tui applications, which are really modern.
So someone recommended Crate tui, which is a Rust library.
Should I keep learning Elm or should I switch to Rust or should I even learn both, even if it takes a lot of time and energy?
Huh, I never would have thought of using Elm for TUI apps, how does that work? Does it compile down to JavaScript that you feed into or bundle with Node.js?
Edit: nevermind, I misread and thought you were selecting a stack for a TUI app
I’d select the stack based on whatever project you are most-drawn to at this time: if you really want to build a web front-end, then you could do that in Rust, but it would be far easier in Elm
Yes, stuff like this is what I want to know (at least almost).
I want to know if it is enough to learn only one new language (Rust) to do whatever applications and not to learn several at once and because many stuff works on many platforms and it’s just hard to figure out what language is created for what, I had to ask questions.
But maybe fundamental questions would be better, because people get confused:
For what kind of applications is Rust for/used?
Rust is a very versatile language, so you can make almost any kind of app with it, although the ecosystem around certain use cases (e.g. CLI) is more developed
You could build a web front-end in Rust with these crates (the Rust word for “library”):
You could build a HTTP back-end in Rust with these crates:
I use these GUI apps written in Rust:
I use these TUI apps that are written in Rust:
I use these CLI tools written in Rust:
Other places Rust is used:
Great list, thanks for compiling all these, I’m gonna check some of them out.
Thanks for this great list. I went through a few, but couldn’t test a lot yet.
If it’s about web development, now I know that Rust can be used to create a back end and with Elm I could create a front end.
The question is: Is it a good combination?
Hehe, I actually just remembered that Lemmy itself is also written in Rust: https://github.com/LemmyNet/lemmy (the web front-end is TypeScript, I think)
I don’t know Elm at all really, but it might be worth going over what we think are characteristics of combinations of back-end and front-end stacks
Great:
Fine:
Bad:
I’m trying to think of other characteristics, but coming up empty :) I’ll update if I think of more :)
I don’t know Elm very good yet, but as far as I know it, it is a perfect match :)