Command-Line Rust: A Project-Based Primer for Writing Rust CLIs



Price: $65.99 - $42.49
(as of Apr 28, 2024 03:55:35 UTC – Details)



Updated in 2024: A new version has been released that simplifies the programs used in the book, based on changes in the Rust language and crates since original publication. The code has been updated to reflect version 4 of the clap crate.

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 focus 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 strings, vectors, dictionaries, and sets to create systems programsWrite and test Rust programs and functionsRead and write files, including stdin, stdout, and stderrDocument and validate command-line argumentsWrite programs that fail gracefullyParse raw and delimited textUse 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)

From the brand

Your Partner in Learning

Sharing the knowledge of experts

O’Reilly’s mission is to change the world by sharing the knowledge of innovators. For over 40 years, we’ve inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.

Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.

Publisher ‏ : ‎ O’Reilly Media; 1st edition (February 22, 2022)
Language ‏ : ‎ English
Paperback ‏ : ‎ 400 pages
ISBN-10 ‏ : ‎ 1098109430
ISBN-13 ‏ : ‎ 978-1098109431
Item Weight ‏ : ‎ 1.3 pounds
Dimensions ‏ : ‎ 7.25 x 1 x 9 inches

wednesdaygift_p5bu3k

Share
Published by
wednesdaygift_p5bu3k

Recent Posts

New Slum and Tent Housing

After the Cyclone, the roads that went through this region were too damage to be…

4 minutes ago

The Stover Canal (Teigngrace Lock) gate mounting

The Stover Canal is a canal located in Devon, England. It was opened in 1792…

35 minutes ago

Blood sugar control

HEALTHY BETICTM: Sugar Reducer composed of vitamins, minerals, antioxidants, and herbs that act toward normal…

1 hour ago

VITAMINS final 02

Posted by seanduckmusic on 2016-06-11 22:46:43 Tagged: , vitamins , supplements , diet , nutrition…

2 hours ago

1978-79 Peter Springett Celebrating Promotion

Photo taken from The Barnsley Chronicle Sports Supplement issued 18th May 1979 Posted by andyhorsfield63@gmail.com…

2 hours ago

south aisle chapel

St Mary, Happisburgh, Norfolk Happisburgh, pronounced, famously, Hayz-br'h, is a delightful village close to the…

3 hours ago