Beginning Rust

From Novice to Professional

  • Carlo Milanesi

Table of contents

  1. Front Matter
    Pages i-xvii
  2. Carlo Milanesi
    Pages 1-8
  3. Carlo Milanesi
    Pages 9-15
  4. Carlo Milanesi
    Pages 17-32
  5. Carlo Milanesi
    Pages 33-45
  6. Carlo Milanesi
    Pages 47-60
  7. Carlo Milanesi
    Pages 61-82
  8. Carlo Milanesi
    Pages 83-95
  9. Carlo Milanesi
    Pages 97-104
  10. Carlo Milanesi
    Pages 105-120
  11. Carlo Milanesi
    Pages 121-134
  12. Carlo Milanesi
    Pages 135-154
  13. Carlo Milanesi
    Pages 155-164
  14. Carlo Milanesi
    Pages 165-171
  15. Carlo Milanesi
    Pages 173-182
  16. Carlo Milanesi
    Pages 183-195
  17. Carlo Milanesi
    Pages 197-221
  18. Carlo Milanesi
    Pages 223-237
  19. Carlo Milanesi
    Pages 239-271
  20. Carlo Milanesi
    Pages 273-294

About this book

Introduction

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.  

You will:
  • 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  

Keywords

Rust beginning programming beginner learn code language source open source step by step tutorial C++ C memory performance

Authors and affiliations

  • Carlo Milanesi
    • 1
  1. 1.BergamoItaly

Bibliographic information

  • DOI https://doi.org/10.1007/978-1-4842-3468-6
  • Copyright Information Carlo Milanesi 2018
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing
  • Print ISBN 978-1-4842-3467-9
  • Online ISBN 978-1-4842-3468-6
  • About this book
Industry Sectors
Pharma
Automotive
Biotechnology
Electronics
Telecommunications
Aerospace