Mastering Rust Front Cover

Mastering Rust

  • Length: 354 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-05-30
  • ISBN-10: B01ITHIT6M
  • Sales Rank: #1068649 (See Top 100 Books)
Description

Key Features

  • If you want to learn the advanced-level core concepts of Rust, then this book is the one for you!
  • Through this book, you will appreciate some of the unique features of Rust such as coding in expressive type systems, mutability, ownership, and boring
  • After reading this book, you will be able to migrate your legacy C or C++ application to a Rust environment

Book Description

If concurrent programs are giving you sleepless nights, Rust is your go-to language. Filled with real-world examples and explanations, this book will show you how you can build scalable and reliable programs for your organization.

We’ll teach you big level concepts that make Rust a great language. Improving performance, using generics, building macros, and working with threads are just some of the topics we’ll cover. We’ll talk about the official toolsets and ways to discover more. The book contains a mix of theory interspersed with hands-on tasks so you acquire the skills as well as the knowledge. Since programming cannot be learned by just reading, we provide exercises (and solutions) to hammer the concepts in.

After reading this book, you will be able to implement Rust for your enterprise project, deploy the software, and will know the best practices of coding in Rust.

What you will learn

  • Implement unit testing patterns with the standard Rust tools
  • Get to know the different philosophies of error handling and how to use them wisely
  • Appreciate Rust’s ability to solve memory allocation problems safely without garbage collection
  • Get to know how concurrency works in Rust and use concurrency primitives such as threads and message passing
  • Use syntax extensions and write your own
  • Create a Web API with Iron
  • Use Diesel to build safe database abstractions

About the Author

Vesa Kaihlavirta has been programming since he was 5, beginning with C64 Basic. His main professional goal in life is to increase awareness of programming languages and software quality in all industries that use software. He lives in Finland, Jyvaskyla, and is currently working at Paytrail Plc, and at his own company, Discord Technologies Inc.

Table of Contents

Chapter 1. Getting Your Feet Wet
Chapter 2. Using Cargo To Build Your First Program
Chapter 3. Unit Testing And Benchmarking
Chapter 4. Types
Chapter 5. Error Handling
Chapter 6. Memory, Lifetimes, And Borrowing
Chapter 7. Concurrency
Chapter 8. Macros
Chapter 9. Compiler Plugins
Chapter 10. Unsafety And Interfacing With Other Languages
Chapter 11. Parsing And Serialization
Chapter 12. Web Programming
Chapter 13. Data Storage
Chapter 14. Debugging
Chapter 15. Solutions And Final Words

To access the link, solve the captcha.