๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Mastering Rust: Advanced concurrency, macros, and safe database

โœ Scribed by Vesa Kaihlavirta


Publisher
Packt Publishing
Year
2017
Tongue
English
Leaves
354
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Key Features

  • Learn how concurrency works in Rust and why it is safe
  • Get to know the different philosophies of error handling and how to use them wisely
  • 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. Being one of the first ever comprehensive books on Rust, it is filled with real-world examples and explanations, showing you how you can build scalable and reliable programs for your organization.

Weโ€™ll teach you intermediate to advanced 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 application with Rocket
  • Use Diesel to build safe database abstractions

About the Author

Vesa Kaihlavirta has been programming since he was five, 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's an Arch Linux Developer Fellow, and has been working in the telecom and financial industry for a decade. Vesa lives in Jyvaskyla, central Finland.

Table of Contents

  1. Getting your feet wet
  2. Using Cargo to build your first program
  3. Unit testing and benchmarking
  4. Types
  5. Error handling
  6. Memory, lifetimes and borrowing
  7. Concurrency
  8. Macros
  9. Compiler plugins
  10. Unsafety and interfacing with other languages
  11. Parsing and serialization
  12. Web programming
  13. Data storage
  14. Debugging
  15. Solutions & Final words

๐Ÿ“œ SIMILAR VOLUMES


Mastering Rust: Advanced concurrency, ma
โœ Vesa Kaihlavirta ๐Ÿ“‚ Library ๐Ÿ“… 2017 ๐Ÿ› Packt Publishing ๐ŸŒ English

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 โ€ข After reading this book, you will be abl

Mastering Rust: Advanced concurrency, ma
โœ Kaihlavirta, Vesa ๐Ÿ“‚ Library ๐Ÿ“… 2017 ๐Ÿ› Packt Publishing ๐ŸŒ English

If concurrent programs are giving you sleepless nights, Rust is your go-to language. Being one of the first ever comprehensive books on Rust, it is filled with real-world examples and explanations, showing you how you can build scalable and reliable programs for your organization.

Mastering PostgreSQL: A Comprehensive Gu
๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› Independently Published ๐ŸŒ English

Unlocking PHP Mastery: Your Comprehensive Guide to Powering Dynamic Web Solutions!" Delve into the world of web development and empower your programming prowess with this comprehensive eBook on PHP. Whether you're a novice seeking to grasp the fundamentals or an experienced developer aiming to refi

Advanced Field Theory: Micro, Macro, and
โœ Hiroomi Umezawa ๐Ÿ“‚ Library ๐Ÿ“… 1995 ๐Ÿ› Springer ๐ŸŒ English

This work begins by distinguishing the difference between quantum mechanics and quantum field theory. It then attempts to extend field theory by adding a thermal degree of freedom to phenomena occurring within a vacuum. The resulting quantum field theory is called Thermo Field Dynamics (TFD).

Advanced field theory: micro, macro, and
โœ Umezawa H. ๐Ÿ“‚ Library ๐Ÿ“… 1995 ๐Ÿ› AIP ๐ŸŒ English

This work begins by distinguishing the difference between quantum mechanics and quantum field theory. It then attempts to extend field theory by adding a thermal degree of freedom to phenomena occurring within a vacuum. The resulting quantum field theory is called Thermo Field Dynamics (TFD).