Prepare
Cargo
When you start reading about Rust, you will soon meet Cargo, the standard tool used in the Rust ecosystem to build and run Rust applications.
IDE
We suggest using any LSP compatible editor works with rust-analyzer3
Rust first example
Content
- Basic Rust syntax: variables, scalar and compound types, enums, structs, references, functions, and methods.
- Memory management: stack vs heap, manual memory management, scope-based memory management, and garbage collection.
- Ownership: move semantics, copying and cloning, borrowing, and lifetimes.
What is Rust? Why Rust? Rust Basic Syntax Variables Memory Management Ownership