Mastering Rust

Learn about memory safety, type system, concurrency, and the new features of Rust 2018 edition, 2nd Edition

Nonfiction, Computers, Networking & Communications, Programming, Programming Languages, General Computing
Cover of the book Mastering Rust by Rahul Sharma, Vesa Kaihlavirta, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Rahul Sharma, Vesa Kaihlavirta ISBN: 9781789341188
Publisher: Packt Publishing Publication: January 31, 2019
Imprint: Packt Publishing Language: English
Author: Rahul Sharma, Vesa Kaihlavirta
ISBN: 9781789341188
Publisher: Packt Publishing
Publication: January 31, 2019
Imprint: Packt Publishing
Language: English

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.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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

Key Features

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

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.

More books from Packt Publishing

Cover of the book Documentum Content Management Foundations: EMC Proven Professional Certification Exam E20-120 Study Guide by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Learning Axure RP Interactive Prototypes by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Apache Spark 2 for Beginners by Rahul Sharma, Vesa Kaihlavirta
Cover of the book HDInsight Essentials - Second Edition by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Drupal 7 Webform Cookbook by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Learning Python for Forensics by Rahul Sharma, Vesa Kaihlavirta
Cover of the book SAP Business ONE Implementation: LITE by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Mastering Apache Maven 3 by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Learning Ext JS 3.2 by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Magento Site Performance Optimization by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Java 9 Cookbook by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Babylon.js Essentials by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Kubernetes for Developers by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Everyday Data Structures by Rahul Sharma, Vesa Kaihlavirta
Cover of the book Computer Vision with Python 3 by Rahul Sharma, Vesa Kaihlavirta
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy