The Rust Programming Language is the official book on Rust: an open source systems programming language that helps you write faster, more reliable software. Rust offers control over low-level details (such as memory usage) in combination with high-level ergonomics, eliminating the hassle traditionally associated with low-level languages.
The authors of The Rust Programming Language, members of the Rust Core Team, share their knowledge and experience to show you how to take full advantage of Rust’s features—from installation to creating robust and scalable programs. You’ll begin with basics like creating functions, choosing data types, and binding variables and then move on to more advanced concepts, such as:
Ownership and borrowing, lifetimes, and traits
Using Rust’s memory safety guarantees to build fast, safe programs
Testing, error handling, and effective refactoring
Generics, smart pointers, multithreading, trait objects, and advanced pattern matching
Using Cargo, Rust’s built-in package manager, to build, test, and document …
The Rust Programming Language is the official book on Rust: an open source systems programming language that helps you write faster, more reliable software. Rust offers control over low-level details (such as memory usage) in combination with high-level ergonomics, eliminating the hassle traditionally associated with low-level languages.
The authors of The Rust Programming Language, members of the Rust Core Team, share their knowledge and experience to show you how to take full advantage of Rust’s features—from installation to creating robust and scalable programs. You’ll begin with basics like creating functions, choosing data types, and binding variables and then move on to more advanced concepts, such as:
Ownership and borrowing, lifetimes, and traits
Using Rust’s memory safety guarantees to build fast, safe programs
Testing, error handling, and effective refactoring
Generics, smart pointers, multithreading, trait objects, and advanced pattern matching
Using Cargo, Rust’s built-in package manager, to build, test, and document your code and manage dependencies
How best to use Rust’s advanced compiler with compiler-led programming techniques
You’ll find plenty of code examples throughout the book, as well as three chapters dedicated to building complete projects to test your learning: a number guessing game, a Rust implementation of a command line tool, and a multithreaded server.
New to this edition: An extended section on Rust macros, an expanded chapter on modules, and appendixes on Rust development tools and editions.
Sinceramente la mejor introducción a este lenguaje de programación. Me lo leí de principio a fin en mi afán de aprender y sí me dejó con una vista panorámica de lo que se podía hacer y cómo se hacía que me sirvió para comenzar.
An excellent book that introduces the Rust programming language.
5 stars
An excellent book that introduces the Rust programming language and why its features can make it a compelling systems level programming language. The book assumes the reader has some programming experience, so it doesn't go into basic programming concepts, but instead shows how Rust handles some standard programming tasks in a safer (and maybe better) way than other systems programming languages.
Rust's explicit use of ownership and keeping track of lifetimes enable the language to detect and alert programmers at compile time about issues with their code that would lead to memory access problems that are a major source of bugs in programs. Rust does not eliminate all bugs, but getting rid of memory access related bugs would be good for programming in general.
After covering those essential aspects of the language, the book then goes into some details about the ecosystem around Rust: separating code into libraries, producing test …
An excellent book that introduces the Rust programming language and why its features can make it a compelling systems level programming language. The book assumes the reader has some programming experience, so it doesn't go into basic programming concepts, but instead shows how Rust handles some standard programming tasks in a safer (and maybe better) way than other systems programming languages.
Rust's explicit use of ownership and keeping track of lifetimes enable the language to detect and alert programmers at compile time about issues with their code that would lead to memory access problems that are a major source of bugs in programs. Rust does not eliminate all bugs, but getting rid of memory access related bugs would be good for programming in general.
After covering those essential aspects of the language, the book then goes into some details about the ecosystem around Rust: separating code into libraries, producing test cases and documentation and adding dependencies and external libraries. The book also goes into some more advanced language features that can support object-oriented programming and use 'unsafe' features, where the programmer, instead of the language, has to take some responsibility to ensure the code is safe to use.
By the end of the book, you should have a good understanding of the language features and ready to produce code. The book also gives some pointers for those looking to use the more advance language features in their coding.