Skip to content

carmenere/easy-rust

Repository files navigation

About

easy-rust contains easy manual of Rust language.


Issues the Rust language solves

The Rust language gets rid of some issues that C and C++ languages have.


Problems in C/C++ Solution
Double free Move semantics and scope based resource management.
Use after free (aka dangling pointers) Borrow checker tracks references lifetimes, i.e., reference can’t outlive its owner.
Buffer overflow slice types and .last()/.last_mut() methods for sequences.

Docs

  1. The Cargo Book.
  2. The rustdoc book.
  3. The Rust Edition Guide.
  4. The rustc book.

Table of contents

  1. Rust toolchain
  2. Workspaces. Packages. Crates
  3. Basics
  4. Basic types
  5. Ownership. Borrowing. Lifetimes
  6. Generics
  7. Traits
  8. Common traits
  9. Option and Result
  10. Error handling
  11. Tests
  12. Smart pointers
  13. Iterators
  14. Closures
  15. Unsafe
  16. Macros
  17. Concurrency
  18. Useful crates

About

Easy manual for Rust language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published