Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Mastering Rust: Learn about memory safety, type system, concurrency, and the new features of Rust 2018 edition, 2nd Edition


Become proficient in designing, developing and deploying effective software systems using the advanced constructs of Rust

Key Features

  • Improve your productivity using the latest version of Rust and write simpler and easier code
  • Understand Rust's immutability and ownership principle, expressive type system, safe concurrency
  • Deep dive into the new doamins of Rust like WebAssembly, Networking and Command line tools

Book Description

Rust is an empowering language that provides a rare combination of safety, speed, and zero-cost abstractions. Mastering Rust – Second Edition is filled with clear and simple explanations of the language features along with real-world examples, showing you how you can build robust, scalable, and reliable programs.

This second edition of the book improves upon the previous one and touches on all aspects that make Rust a great language. We have included the features from latest Rust 2018 edition such as the new module system, the smarter compiler, helpful error messages, and the stable procedural macros. You'll learn how Rust can be used for systems programming, network programming, and even on the web. You'll also learn techniques such as writing memory-safe code, building idiomatic Rust libraries, writing efficient asynchronous networking code, and advanced macros. The book contains a mix of theory and hands-on tasks so you acquire the skills as well as the knowledge, and it also provides exercises to hammer the concepts in.

After reading this book, you will be able to implement Rust for your enterprise projects, write better tests and documentation, design for performance, and write idiomatic Rust code.

What you will learn

  • Write generic and type-safe code by using Rust's powerful type system
  • How memory safety works without garbage collection
  • Know the different strategies in error handling and when to use them
  • Learn how to use concurrency primitives such as threads and channels
  • Use advanced macros to reduce boilerplate code
  • Create efficient web applications with the Actix-web framework
  • Use Diesel for type-safe database interactions in your web application

Who this book is for

The book is aimed at beginner and intermediate programmers who already have familiarity with any imperative language and have only heard of Rust as a new language. If you are a developer who wants to write robust, efficient and maintainable software systems and want to become proficient with Rust, this book is for you. It starts by giving a whirlwind tour of the important concepts of Rust and covers advanced features of the language in subsequent chapters using code examples that readers will find useful to advance their knowledge.

Table of Contents

  1. Getting started with Rust
  2. Managing projects with cargo
  3. Tests, documentation and benchmarks
  4. Types, generics and traits
  5. Memory management and safety
  6. Error handling
  7. Advanced Topics
  8. Concurrency
  9. Metaprogramming with Macros
  10. Unsafe Rust and foreign function interfaces
  11. Logging
  12. Network programming in Rust: Sync and Async IO
  13. Building web applications with Rust
  14. Interacting with databases in Rust
  15. Rust on the web using WebAssembly
  16. Gui development with Rust
  17. Debugging
(HTML tags aren't allowed.)

Applications of Silicon-Germanium Heterostructure Devices (Series in Optics and Optoelectronics)
Applications of Silicon-Germanium Heterostructure Devices (Series in Optics and Optoelectronics)
The authors have certainly identified a gap in the literature … Overall, the book is very informative and provides a strong foundation for work in this active research area.
-K. Alan Shore, Optics and Photonics News

The most significant feature of this work is that it combines three distinct topics - technology, device
Scheduling: Theory, Algorithms, and Systems
Scheduling: Theory, Algorithms, and Systems

This new edition provides an up-to-date coverage of important theoretical models in the scheduling literature as well as  significant scheduling problems that occur in the real world. It again includes supplementary  material in the form of  slide-shows from industry and movies that...

Word 2013 Bible
Word 2013 Bible

Top-to-bottom coverage of the top-selling Microsoft Officeapplication

If you want to use Microsoft Word to create more than justsimple documents, start with this ultimate Word guide. Packed withthe in-depth content that is the hallmark of all Wiley Bibles, thisbook covers it all. You'll first find out what's new in...

If a problem occurs over and over again, a solution to that problem has been used effectively. That solution is described as a pattern. The design patterns are languageindependent strategies for solving common object-oriented design problems. When you make a design, you should know the names of some common solutions. Learning design...
Finite Element Method Using MATLAB (Mechanical Engineering)
Finite Element Method Using MATLAB (Mechanical Engineering)
The finite element method (FEM) has become one of the most important and useful tools for scientists and engineers. This new book features the use of MATLAB to present introductory and advanced finite element theories and formulations. MATLAB is especially convenient to write and understand finite element analysis programs because a MATLAB...
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

Full coverage of functional programming and all OCA Java Programmer exam objectives

OCA, Oracle Certified Associate Java SE 8 Programmer I Study Guide, Exam 1Z0-808 is a comprehensive study guide for those taking the Oracle Certified Associate Java SE 8 Programmer I exam (1Z0-808). With complete coverage of 100% of...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy