Beginning Rust: From Novice to Professional

Beginning Rust: From Novice to Professional
PDF, ePUB

Book Description
Learn to program with Rust in an easy, step-by-step manner on Unix, Linux shell, macOS and the Windows command line.  As you read this book, you’ll build on the knowledge you gained in previous chapters and see what Rust has to offer.  

Beginning Rust starts with the basics of Rust, including how to name objects, control execution flow, and handle primitive types. You’ll see how to do arithmetic, allocate memory, use iterators, and handle input/output. Once you have mastered these core skills, you’ll work on handling errors and using the object-oriented features of Rust to build robust Rust applications in no time.

Only a basic knowledge of programming is required, preferably in C or C++. To understand this book, it's enough to know what integers and floating-point numbers are, and to distinguish identifiers from string literals.

After reading this book, you'll be ready to build Rust applications.  

What You'll Learn
  • Get started programming with Rust
  • Understand heterogeneous data structures and data sequences
  • Define functions, generic functions, structs, and more
  • Work with closures, changeable strings, ranges and slices
  • Use traits and learn about lifetimes  
Who This Book Is For 
Those who are new to Rust and who have at least some prior experience with programming in general: some C/C++ is recommended particularly.

Content

Chapter 1: Printing on the Terminal
Chapter 2: Doing Arithmetic
Chapter 3: Naming Objects
Chapter 4: Controlling Execution Flow
Chapter 5: Using Data Sequences
Chapter 6: Using Primitive Types
Chapter 7: Enumerating Cases
Chapter 8: Using Heterogeneous Data Structures
Chapter 9: Defining Functions
Chapter 10: Defining Generic Functions and Structs
Chapter 11: Allocating Memory
Chapter 12: Data Implementation
Chapter 13: Defining Closures
Chapter 14: Using Changeable Strings
Chapter 15: Ranges and Slices
Chapter 16: Using Iterators
Chapter 17: Input/Output and Error Handling
Chapter 18: Using Traits
Chapter 19: Object-Oriented Programming
Chapter 20: Standard Library Collections
Chapter 21: Drops, Moves, and Copies
Chapter 22: Borrowing and Lifetimes
Chapter 23: More About Lifetimes

Download Beginning Rust: From Novice to Professional PDF or ePUB format free


Free sample

Download in .PDF format



Download in .ePUB format


Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019