「Rust の練習帳」(Ken Youens-Clark 著、中山 光樹 訳、2024/01、O'REILLY Japan)の写経リポジトリ
- 書籍
- サンプルコード
- 正誤表(日本語版のサポートサイト)
- OS: macOS Sonoma 14.4
- CPU: Apple M3 Max (arm64, 16 cores)
- Rust 1.80.1
$ rustup show
Default host: aarch64-apple-darwin
rustup home: /Users/nukopy/.rustup
stable-aarch64-apple-darwin (default)
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- Run all tests in all members in workspace
cargo test
- Run all tests in a specific member
cargo test -p <member>
https://www.oreilly.co.jp/books/9784814400584/
- 1. イントロダクション
- 2. echo コマンド
- 3. cat コマンド
- 4. head コマンド
- 5. wc コマンド
- 6. uniq コマンド
- 7. find コマンド
- 8. cut コマンド
- 9. grep コマンド
- 10. comm コマンド
- 11. tail コマンド
- 12. fortune コマンド
- 13. cal コマンド
- 14. ls コマンド
- 付録 A. clap の新しい API
https://doc.rust-lang.org/book/title-page.html
- 1. Getting Started
- 2. Programming a Guessing Game
- 3. Common Programming Concepts
- 4. Understanding Ownership
- 5. Using Structs to Structure Related Data
- 6. Enums and Pattern Matching
- 7. Managing Growing Projects with Packages, Crates, and Modules
- 8. Common Collections
- 9. Error Handling
- 10. Generic Types, Traits, and Lifetimes
- 11. Writing Automated Tests
- 12. An I/O Project: Building a Command Line Program
- 13. Functional Language Features: Iterators and Closures
- 14. More about Cargo and Crates.io
- 15. Smart Pointers
- 16. Fearless Concurrency
- 17. Object Oriented Programming Features of Rust
- 18. Patterns and Matching
- 19. Advanced Features
- 20. Final Project: Building a Multithreaded Web Server
- 21. Appendix