LoginSignup
16
12

Rust を勉強・学習する際に読む文献の順番

Last updated at Posted at 2022-03-04

最近 Rust を覚えましたが、結構難しかったので、この順番で読むとスムーズに勉強が進みそうだなと思った情報を残しておきます。

  1. Rust の最初のステップ by Microsoft
  2. Rust ツアー目次
  3. The Rust Programming Language 日本語版
  4. プログラミングRust 第2版

Rust の勉強前に以下の基本を念頭に入れておくと読むのがスムーズです。

  1. Class がない
  2. Interface がない
  3. 例外がない
  4. 型の名前も慣れ親しんだものではない
  5. switch がなく、代わりにそれをかなり強化した match がある
  6. 代入演算子がコピーではなく C++ でいう move semantics(std::move, rvalue reference, move_ptr) になっている(a = b が他の言語の a = b では全くない、つまり a = b 実行後に a == b にならない、b の値が a に移動し、b は未初期化状態になる)
  7. GC がなく、RAII(Resource Acquisition Is Initialization) でリソースを管理する(これは C++ と同様)
  8. スレッドだけではなく、Goroutine のような非同期処理がある(強力)
16
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
12