Beginning Rust: Get Started with Rust 2021 Edition

Beginning Rust: Get Started with Rust 2021 Edition

作者: Milanesi Carlo
出版社: Apress
出版在: 2021-12-16
ISBN-13: 9781484272077
ISBN-10: 1484272072
裝訂格式: Quality Paper - also called trade paper
總頁數: 436 頁





內容描述


Learn to program with Rust 2021 Edition, in an easy, step-by-step manner on Unix, the 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 in C or C++ and familiarity with a command console are required. After reading this book, you’ll be ready to build simple Rust applications.
What You Will 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.

目錄大綱


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

作者介紹


Carlo Milanesi is a professional software developer and expert who uses Rust. He has contributed to the Rust development community, and also has done web application development in Linux with PHP, JavaScript, Java, and the Ionic and Vaadin frameworks. Lastly, he has been in involved in these other technologies: GUI design, 2D and 3D rendering, testing automation, and database access. Carlo's applications include CAM/CAM for the stone machining industry, lens cutting laboratory automation, and corporate-wide web applications.




相關書籍

最新電腦網路概論與實務 - 含 CIW 網路技術工程師 (NTA) 認證(Exam ID 1D0-61C) - 最新版

作者 李保宜

2021-12-16

Safe C++: How to avoid common mistakes (Paperback)

作者 Vladimir Kushnir

2021-12-16

Radio Propagation and Adaptive Antennas for Wireless Communication Links: Terrestrial, Atmospheric and Ionospheric

作者 Nathan Blaunstein Christos Christodoulou

2021-12-16