Learning Rust
eBook - ePub

Learning Rust

  1. 308 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this book

Start building fast and robust applications with the power of Rust by your side

Key Features

  • [*] Get started with the language to build scalable and high performance applications
  • [*] This book will help C#/C++ developers gain better performance and memory management
  • [*] Discover the power of Rust when developing concurrent applications for large and scalable software

Book Description

Rust is a highly concurrent and high performance language that focuses on safety and speed, memory management, and writing clean code. It also guarantees thread safety, and its aim is to improve the performance of existing applications. Its potential is shown by the fact that it has been backed by Mozilla to solve the critical problem of concurrency.Learning Rust will teach you to build concurrent, fast, and robust applications. From learning the basic syntax to writing complex functions, this book will is your one stop guide to get up to speed with the fundamentals of Rust programming. We will cover the essentials of the language, including variables, procedures, output, compiling, installing, and memory handling. You will learn how to write object-oriented code, work with generics, conduct pattern matching, and build macros. You will get to know how to communicate with users and other services, as well as getting to grips with generics, scoping, and more advanced conditions. You will also discover how to extend the compilation unit in Rust. By the end of this book, you will be able to create a complex application in Rust to move forward with.

What you will learn

  • [*] Set up Rust for Windows, Linux, and OS X
  • [*] Write effective code using Rust
  • [*] Expand your Rust applications using libraries
  • [*] Interface existing non-Rust libraries with your Rust applications
  • [*] Use the standard library within your applications
  • [*] Understand memory management within Rust and speed efficiency when passing variables
  • [*] Create more complex data types
  • [*] Study concurrency in Rust with multi-threaded applications and sync threading techniques to improve the performance of an application problem

Who this book is for

The book is for absolute beginners to Rust, who want to build high performance, concurrent applications for their projects. It is suitable for developers who have a basic knowledge of programming and developers who are using the C#/C++ language to write their applications. No knowledge of Rust is expected.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learning Rust by Paul Johnson, Vesa Kaihlavirta in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Copyright
  2. Credits
  3. About the Authors
  4. About the Reviewer
  5. www.PacktPub.com
  6. Customer Feedback
  7. Title Page
  8. Preface
  9. Introducing and Installing Rust
  10. Variables
  11. Input and Output
  12. Conditions, Recursion, and Loops
  13. Remember, Remember
  14. Creating Your Own Rust Applications
  15. Matching and Structures
  16. The Rust Application Lifetime
  17. Introducing Generics, Impl, and Traits
  18. Creating Your Own Crate
  19. Concurrency in Rust
  20. Now It's Your Turn!
  21. The Standard Library
  22. Foreign Function Interfaces