Rust Programming in easy steps introduces all the features of the Rust programming language, using worked example programs.
Rust is still an immature language and sees a major release every six years. Rust 2024 was released in February 2025, and is the version of the language that this book will deal with. The language differences are slight. Of greater concern is the library of "crates" that support more advanced features. Many of these are either not in place or not stable enough to be relied on. In particular, no one crate has emerged that provides a desktop GUI interface. Therefore, all the examples in this book will be for command-line, text-based programs.
The book includes two full example programs taken from areas where Rust has seen significant use: web back-end and embedded development. The latter requires that the reader obtain an Arduino and a few electronic components. This optional project need not cost more than around GBP10.
Rust Programming in easy steps is intended for experienced programmers and is not suitable for beginners. It gives detailed information for Windows, but as the book is aimed at developers with experience of other languages, Linux and MacOS users should find the book useful but it won't be quite as streamlined as for a Windows user.
Covers Rust 2024, which was released in February 2025.
Reihe
Sprache
Verlagsort
Produkt-Hinweis
Illustrationen
Full colour screenshots, photographs, and diagrams; Illustrations
Maße
Höhe: 226 mm
Breite: 187 mm
Dicke: 10 mm
ISBN-13
978-1-78791-034-8 (9781787910348)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Klassifikation
Richard Urwin has been a software engineer all his working life, specialising in embedded control systems. He enjoys roleplaying games, science-fiction and hill-walking, although these days he wishes the hills were flatter. He wrote his first Artificial Intelligence program in 1975 and has retained an interest in the field ever since.
Introduction and installation
The structure of a computer program in memory
Detecting bugs in the compiler
Saying hello
The file structure of a project
Structuring data
Control flow
Vectors, strings and hash maps
Implementations
Traits and lifetimes
Closures and iterators
Real-world projects
Smart pointers
Concurrency
Macros
Advanced topics
Rust for web back-end development
Rust for embedded development
Future direction