Rust
A multi-paradigm, high-level, general-purpose programming language, with no runtime and garbage collector.
Resources
- Official Getting Start Guide
- A getting start guide provided by the official Rust team
- Command Line Rust
- Replicating 14 command line tools in Rust with
clap
crate - Emphasize test-driven development
- All the code is available on GitHub
- In my opinion, a pretty good way to get started on Rust for people with some programming experience
- It gradually introduces the key concepts and the standard library in each chapter
- Replicating 14 command line tools in Rust with
Site
- rust-lang.org
- Official website of Rust
- Contains links to the getting start book and the playground
Links
Guides
- Nothing in Rust
- Possible "nothing" state in rust, like
null
in other languages PhantomData
,Option::None
, empty tuple, never type
- Possible "nothing" state in rust, like
- Getting Past "Ampersand-Drive Development" in Rust
(Lobster)
- The difference between
self
,mut self
,&self
,&mut self
- Reference-counted pointer
Rc
and atomically reference-counted pointerArc
- The difference between
Blogs
- Switching From C++ to Rust
(Lobster)
- Comparing from the perspective of the build system, the compiler, and the type system