
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Rust Quick Start Guide: The easiest way to learn Rust programming
Purchase options and add-ons
Get familiar with writing programs in the trending new systems programming language that brings together the powerful performance of low-level languages with the advanced features like thread safety in multi-threaded code
Key Features
- Learn the semantics of Rust, which can be significantly different from other programming languages
- Understand clearly how to work with the Rust compiler which strictly enforces rules that may not be obvious
- Examples and insights beyond the Rust documentation
Book Description
Rust is an emerging programming language applicable to areas such as embedded programming, network programming, system programming, and web development. This book will take you from the basics of Rust to a point where your code compiles and does what you intend it to do!
This book starts with an introduction to Rust and how to get set for programming, including the rustup and cargo tools for managing a Rust installation and development workflow.
Then you'll learn about the fundamentals of structuring a Rust program, such as functions, mutability, data structures, implementing behavior for types, and many more. You will also learn about concepts that Rust handles differently from most other languages.
After understanding the Basics of Rust programming, you will learn about the core ideas, such as variable ownership, scope, lifetime, and borrowing. After these key ideas, you will explore making decisions in Rust based on data types by learning about match and if let expressions. After that, you'll work with different data types in Rust, and learn about memory management and smart pointers.
What you will learn
- Install Rust and write your first program with it
- Understand ownership in Rust
- Handle different data types
- Make decisions by pattern matching
- Use smart pointers
- Use generic types and type specialization
- Write code that works with many data types
- Tap into the standard library
Who this book is for
This book is for people who are new to Rust, either as their first programming language or coming to it from somewhere else. Familiarity with computer programming in any other language will be helpful in getting the best out of this book.
Table of Contents
- Getting Ready
- Basics of the Rust Language
- The Big Ideas-Ownership and Borrowing
- Making Decisions by Pattern Matching
- One Data Type Representing Multiple Kinds of Data
- Heap Memory and Smart Pointers
- Generic Types
- Important Standard Traits
- ISBN-101789616700
- ISBN-13978-1789616705
- PublisherPackt Publishing
- Publication dateOctober 30, 2018
- LanguageEnglish
- Dimensions7.5 x 0.41 x 9.25 inches
- Print length180 pages
Frequently purchased items with fast delivery
Editorial Reviews
About the Author
Daniel Arbuckle holds a Ph.D. in Computer Science from the University of Southern California. While at USC, he performed original research in the Interaction Lab (part of the Center for Robotics and Embedded Systems) and the Laboratory for Molecular Robotics (now part of the Nanotechnology Research Laboratory). His work has been published in peer-reviewed journals and in the proceedings of international conferences.
Product details
- Publisher : Packt Publishing
- Publication date : October 30, 2018
- Language : English
- Print length : 180 pages
- ISBN-10 : 1789616700
- ISBN-13 : 978-1789616705
- Item Weight : 11.2 ounces
- Dimensions : 7.5 x 0.41 x 9.25 inches
- Best Sellers Rank: #4,269,653 in Books (See Top 100 in Books)
- #264 in Functional Software Programming
- #4,711 in Computer Programming Languages
- #4,861 in Introductory & Beginning Programming
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on April 1, 2019Format: PaperbackThis is a lively introduction to Rust. The writing is friendly to beginners, or so it seems to me, because I am not a beginner, so I'm guessing a little. For a more experienced developer, it might be a little too watered down and informal, but I'm not complaining. You have the Rust website as an alternate source of information.
You could come to this book after learning Python.
Top reviews from other countries
- Amazon CustomerReviewed in India on June 4, 2022
4.0 out of 5 stars Those who know C or c++, this is a very good book to start.
Format: PaperbackVerified PurchaseConcepts are well explained...will recommend The book for those who already know c or cpp.
- Avirup D.Reviewed in India on June 20, 2020
2.0 out of 5 stars Not Recommended for Newcomers
Format: PaperbackVerified PurchaseVery Boring and difficult-to-book. Don't buy it if you are a newcomer in Rust.
Avirup D.Not Recommended for Newcomers
Reviewed in India on June 20, 2020
Images in this review