Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.72 KB

rust_readme.md

File metadata and controls

52 lines (37 loc) · 1.72 KB
  1. best learning materials

  2. rust crash course

  3. ownership | move,copy,clone

  4. module system

  5. error handling

  6. Traits (interface)

  7. lifetime

  8. smart pointer

  9. concurrency,threads,channel,mutex,arc

  10. rust collections

  11. rust for cpp user

  12. rust & webasm


为rust crates.io换上国内中科大的源
vi ~/.cargo/config

[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"

some go concept VS. in rust

concept rust implementation
parallelism rayon
Concurrency async/await
Channel Rust allows you to transfer a pointer from one thread to another to avoid racing conditions for resources. Through passing pointers, Rust can enforce thread isolation for channels: fearless concurrency
Lock Data is only accessible when the lock is held. fearless concurrency