rust

Posted on By ᵇᵒ

语法

  1. Rust 程序设计
  2. 官方 reference
  3. The Rust Programming Language,又称 The Book
  4. Rust 语言圣经
    • https://course.rs/
    • GitHub:https://github.com/sunface/rust-course

死灵书

The Rustonomicon

官方标准库

The Rust Standard Library

Cargo

The Cargo Book

rustc

The rustc book

编译错误索引

Rust Compiler Error Index

难点

  • ownership、borrow、lifetime
  • traits https://doc.rust-lang.org/book/ch10-02-traits.html#traits-defining-shared-behavior
  • slice https://course.rs/difficulties/slice.html
  • 泛型
  • 并发/异步、锁
  • 自引用结构
  • Rust 设计模式
  • match 匹配模式
  • Option/Result

faq

https://prev.rust-lang.org/en-US/faq.html https://rust-lang.github.io/compiler-team/working-groups/rls-2.0/FAQ/ https://doc.rust-jp.rs/the-rust-programming-language-ja/1.6/complement-lang-faq.html https://doc.rust-lang.org/cargo/faq.html

https://cheats.rs/ https://www.rust-lang.org/learn https://www.rust-lang.org/zh-CN/learn https://www.mysmth.net/nForum/#!board/Rust https://www.mysmth.net/nForum/#!article/Rust/220