Command-Line Rust

A Project-Based Primer for Writing Rust CLIs

AvKen Youens Clark

Häftad, Engelska, 2022

487 kr

Beställningsvara. Skickas inom 5-8 vardagar. Fri frakt över 249 kr.

Beskrivning

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 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 text manually, using regular expressions and Rust cratesUse and control randomness

Produktinformation

Utforska kategorier

Mer om författaren

Hoppa över listan

Mer från samma författare

Hoppa över listan

Du kanske också är intresserad av

Del 1

Spelet

Elle Kennedy

Pocket
9

89 kr

Del 4

Målet

Elle Kennedy

Pocket
4

89 kr

  • 4 för 3
Del 5

Nattankare

Kristina Ohlsson

Pocket

99 kr