Beginning Rust [electronic resource] : From Novice to Professional /
Milanesi, Carlo.author.
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 .
1. Printing on Terminal -- 2. Doing Arithmatic -- 3. Naming Objects -- 4. Controlling Execution Flow -- 5. Using Data Sequences -- 6. Using Primitive Types -- 7. Enumerating Cases -- 8. Using Heterogeneous Data Structures -- 9. Defining Functions -- 10. Defining Generic Functions and Structs -- 11. Allocating Memory -- 12. Data Implementation -- 13. Defining Closures -- 14. Using Changeable Strings -- 15. Ranges and Slices -- 16. Using Iterators -- 17. Input/Output and Error Handling -- 18. Using Traits -- 19. Object-Oriented Programming -- 20. Standard Library Collections -- 21. Drops, Moves, and Copies -- 22. Borrowing and Lifetimes -- 23. More about Lifetimes.
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 .
Programming languages (Electronic computers).
Computer programming.
Open source software.
Programming Languages, Compilers, Interpreters.
Programming Techniques.
Open Source.