Beginning Rust
Apress (Verlag)
978-1-4842-7207-7 (ISBN)
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.
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.
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.
Erscheinungsdatum | 29.12.2021 |
---|---|
Zusatzinfo | 2 Illustrations, black and white; XX, 413 p. 2 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Beginner • Beginning • C • C++ • Code • language • learn • Memory • Open Source • Performance • programming • Rust • source • Step by Step • Tutorial |
ISBN-10 | 1-4842-7207-2 / 1484272072 |
ISBN-13 | 978-1-4842-7207-7 / 9781484272077 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich