Items related to Rust High Performance: Learn to skyrocket the performance...

Rust High Performance: Learn to skyrocket the performance of your Rust applications - Softcover

Iban Eguia

  • 2.44 out of 5 stars
    9 ratings by Goodreads
 
9781788399487: Rust High Performance: Learn to skyrocket the performance of your Rust applications

Synopsis

Key Features

  • Understand the common performance pitfalls and improve the performance of your application.
  • Get to grips with parallel programming and multithreading with Rust.
  • Learn metaprogramming in Rust.

Book Description

Sometimes it might be difficult to get the best performance out of Rust. This book will teach you how to optimize the speed of your Rust code so that its speed is comparable to languages such as C/C++. Understand and fix common pitfalls, learn how to improve your productivity by using metaprogramming and speed up your code by concurrently executing parts of your code safely and easily. Find out the particularities of the language that make it shine and use them to really improve the efficiency of your algorithms.

The book begins with a gentle introduction to help you identify the bottlenecks when programming in Rust. We will highlight common performance pitfalls, along with strategies to detect and resolve these issues early. We move on to mastering Rust's type system, that will enable us to create impressive optimizations in both performance and safety at compile time. You will then learn how to effectively manage the memory in Rust, mastering the borrow checker. We move on to measuring performance and you will see how this affects the way you write code. Moving ahead, you will find out how to do metaprogramming in Rust to boost the performance of your code and your productivity. You will finally learn parallel programming in Rust that enables efficient and faster execution by using multithreading and asynchronous programming.

What you will learn

  • Find out small tricks that make your code faster.
  • Learn how to identify bottlenecks in your Rust applications
  • Discover how to profile your Rust software.
  • Understand the type system to create compile-time optimizations.
  • Master the borrow checker .
  • Learn metaprogramming in Rust to avoid boilerplate code.
  • Discover multithreading and work stealing in Rust.
  • Understand asynchronous programming in Rust.

"synopsis" may belong to another edition of this title.

About the Author

Iban Eguia is a passionate Rust and PHP full stack web developer. He has more than 10 years experience in development and since the release of Rust he has been creating high performance Rust web applications. He also has a master's degree in Information Security, making him love Rust's enhancements in memory safety.

Iban can never stop, and during the last years he has participated in the creation of a new currency, launched self-programmed balloons to the stratosphere and he is currently working at the CERN particle physics laboratory. For this, he has moved all around the globe searching for all possible knowledge sources.

"About this title" may belong to another edition of this title.