Автор: Bastian Gruber
Издательство: Manning Publications
Год: 2023
Страниц: 402
Язык: английский
Формат: pdf (true)
Размер: 10.2 MB
Create bulletproof, high-performance web apps and servers with Rust.
Rust Web Development will help you write web applications (be it an API, a microservice, or a monolith) from start to finish. You’ll learn everything you need to open an API to the outside world, connect a database to store your data, and test and deploy your application. This is not a reference book; it should be considered a workbook. The application we are building will make sacrifices in its design so concepts can be taught at the right time. It takes the whole book to finally be able to ship it to production.
Rust Web Development gets you hands-on fast, with numerous small and large examples. You’ll get up to speed with how Rust streamlines backend development, implements authentication flows, and even makes it easier for your APIs to interact. As you go, you’ll build a complete Q&A web service and iterate on your code chapter-by-chapter, just like a real development project.
Rust is a systems programming language. Unlike an interpreted language like jаvascript or Ruby, Rust has a compiler like Go, C, or Swift. It combines running with no overhead (like active garbage collection in Go or a virtual machine, like Java), but offers easy-to-read syntax from Python and Ruby. Rust therefore performs as languages like C. This is all possible because of the compiler that safeguards any type errors and makes sure to eliminate many classical runtime errors, such as use-after-free, before you run your application.
Rust offers performance (it has no runtime nor garbage collection), safety (the compiler makes sure everything is memory safe, even in asynchronous environments), and productivity (its built-in tooling around testing, documentation, and the package manager makes it a breeze to build and maintain).
You might have heard about Rust, but after trying to go through the tutorials, the language seemed too complex and you gave up learning it. However, Rust comes up as the most-loved programming language on the yearly Stack Overflow surveys, and has found a large following in corporations like Facebook, Google, Apple, and Microsoft. This book will unblock you and show you how to become comfortable with the basics of Rust and how to build and ship solid web services with it.
Who should read this book:
This book is for people who have read the first six chapters of The Rust Programming Language by Steve Klabnik and Carol Nichols and then asked themselves, “What can I do with that?” It is also meant for developers who have built web applications in the past with a different language and are wondering if Rust would be a good choice for their next project. And last, it is a great book to help onboard yourself or a new hire to a new job requiring you to write and maintain web applications in Rust.
Скачать Rust Web Development (Final Release)