- Main
- Computers - Programming
- Command-Line Rust: A Project-Based...
Command-Line Rust: A Project-Based Primer for Writing Rust CLIs
Ken Youens-Clark你有多喜歡這本書?
文件的質量如何?
下載本書進行質量評估
下載文件的質量如何?
For several consecutive years, Rust has been voted "most loved programming language" in Stack Overflow's annual developer survey. This open source systems programming language is now used for everything from game engines and operating systems to browser components and virtual reality simulation engines. But Rust is also an incredibly complex language with a notoriously difficult learning curve.
Rather than focusing on the language as a whole, this guide teaches Rust using a single small, complete, focused program in each chapter. Author Ken Youens-Clark shows you how to start, write, and test each of these programs to create a finished product. You'll learn how to handle errors in Rust, read and write files, and use regular expressions, Rust types, structs, and more.
Discover how to:
• Use Rust's standard libraries and data types such as numbers, strings, vectors, structs, Options, and Results to create command-line programs
• Write and test Rust programs and functions
• Read and write files, including stdin, stdout, and stderr
• Document and validate command-line arguments
• Write programs that fail gracefully
• Parse raw and delimited text manually, using regular expressions and Rust crates
• Use and control randomness
This book is a great way to practice writing Rust in real-world scenarios. Ken has laid out a path to build your skills in testing, using crates, and solving common problems. -- Carol Nichols, Cofounder, Integer 32, co-author of The Rust Programming Language (NoStarch, 2018)
Many people who start tinkering with Rust struggle to know how to apply it to their day-to-day work. Command Line Rust is an excellent remedy to this. It shows you how to build utilities that can demonstrate to you and your colleagues that Rust is worth learning. -- Tim McNamara, author of Rust In Action (Manning, 2021)
Rather than focusing on the language as a whole, this guide teaches Rust using a single small, complete, focused program in each chapter. Author Ken Youens-Clark shows you how to start, write, and test each of these programs to create a finished product. You'll learn how to handle errors in Rust, read and write files, and use regular expressions, Rust types, structs, and more.
Discover how to:
• Use Rust's standard libraries and data types such as numbers, strings, vectors, structs, Options, and Results to create command-line programs
• Write and test Rust programs and functions
• Read and write files, including stdin, stdout, and stderr
• Document and validate command-line arguments
• Write programs that fail gracefully
• Parse raw and delimited text manually, using regular expressions and Rust crates
• Use and control randomness
This book is a great way to practice writing Rust in real-world scenarios. Ken has laid out a path to build your skills in testing, using crates, and solving common problems. -- Carol Nichols, Cofounder, Integer 32, co-author of The Rust Programming Language (NoStarch, 2018)
Many people who start tinkering with Rust struggle to know how to apply it to their day-to-day work. Command Line Rust is an excellent remedy to this. It shows you how to build utilities that can demonstrate to you and your colleagues that Rust is worth learning. -- Tim McNamara, author of Rust In Action (Manning, 2021)
年:
2022
版本:
1
出版商:
O'Reilly Media
語言:
english
頁數:
398
ISBN 10:
1098109430
ISBN 13:
9781098109431
文件:
PDF, 5.53 MB
你的標籤:
IPFS:
CID , CID Blake2b
english, 2022
該文件將發送到您的電子郵件地址。 您最多可能需要 1-5 分鐘收到它。
該文件將通過電報信使發送給您。 您最多可能需要 1-5 分鐘收到它。
注意:確保您已將您的帳戶鏈接到 Z-Library Telegram 機器人。
該文件將發送到您的 Kindle 帳戶。 您最多可能需要 1-5 分鐘就能收到它。
請注意:您需要驗證要發送到 Kindle 的每本書。 檢查您的郵箱是否有來自 Amazon Kindle 的驗證郵件。
轉換進行中
轉換為 失敗