How to Learn Rust

Here are some resources if you're trying to learn the Rust language, from the beginning, especially coming from a JavaScript background (like I do).

The main pull for front end developers may be using Rust with WASM, which can allow you to build blazing fast applications that would be slow or unwieldy without it.

Another great reason to learn Rust is as a systems language - one that, for example, Microsoft is officially adopting for future projects.

The very first thing you'll probably want to do is download Rust and get a "hello world" program working, since you can't do anything until that's done. (Also, a system problem can prevent you from getting even that far, as I found with Haskell).

Here's the hello world I used - the minimum viable program, basically.

fn main() {

println!("Hello, world!");

}

Also read up a little on crate, since you'll be using crate to build binaries, which you'll then run - the pattern in compiled languages.

This is different from interpreted languages like JavaScript or Python.

This means, essentially, that 'build' and 'run' are the same command in interpreted languages, and two different ones in compiled languages, like Rust.

For a gentle introduction to Rust concepts, see this YouTube series, which has about 40 bite-sized lessons in all, each approximately 5 minutes or less in length.

It also shows the elegance of the language, in my opinion.

https://www.youtube.com/watch?v=vOMJlQ5B-M0&list=PLVvjrrRCBy2JSHf9tGxGKJ-bYAN_uDCUL

There's also this video course by the excellent Chris Biscardi.

https://egghead.io/lessons/rust-rustlings-enums1-declaring-enums?utm_source=rss&utm_medium=feed&utm_campaign=rss_feed

When you're ready for the next step, starting reading the Rust Programming Language book - a recommended resource by another learner.

https://doc.rust-lang.org/book/

Beyond that, for more structured content, there's also this Rust course on educative.io - available for free.

https://www.educative.io/courses/learn-rust-from-scratch

Finally, there's the official Rust programming language Discord, which is active and has people answering all kinds of questions.

discord greeting

Join Rust's Discord.

https://discord.com/invite/rust-lang

Incidentally, Discord itself is moving to Rust!

https://blog.discord.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f

Rust is a language with a bright future - and by learning it, you can be a part of it.