Zero To Production In Rust: An introduction to backend development
- Добавил: literator
- Дата: 16-01-2024, 23:55
- Комментариев: 0
![](/uploads/posts/2024-01/thumbs/1705438553_zero-to-production-in-rust.jpg)
Автор: Luca Palmieri
Издательство: Independently published
Год: 2023
Страниц: 601
Язык: английский
Формат: pdf (true), epub
Размер: 10.1 MB
Zero To Production is the ideal starting point for your journey as a Rust backend developer.
You will learn by doing: you will build a fully functional email newsletter API, starting from scratch.
When you read these lines, Rust has achieved its biggest goal: make an offer to programmers to write their production systems in a different language. By the end of the book, it is still your choice to follow that path, but you have all you need to consider the offer. I’ve been part of the growth process of two widely different languages: Ruby and Rust - by programming them, but also by running events, being part of their project management and running business around them. Through that, I had the privilege of being in touch with many of the creators of those languages and consider some of them friends. Rust has been my one chance in life to see and help a language grow from the experimental stage to adoption in the industry.
Rust was never intended to be a research platform - it was always meant as a programming language solving real, tangible issues in large codebases. It is no surprise that it comes out of an organization that maintains a very large and complex codebase - Mozilla, creators of Firefox. When I joined Rust, it was just ambition - but the ambition was to industrialize research to make the software of tomorrow better. With all of its theoretical concepts, linear typing, region based memory management, the programming language was always meant for everyone. This reflects in its lingo: Rust uses accessible names like “Ownership” and “Borrowing” for the concepts I just mentioned. Rust is an industry language, through and through.
You'll learn how to:
Navigate and leverage Rust's crates ecosystem
Structure your application to make it modular and extensible
Write tests, from single units to full-blown integration tests
Enforce your domain invariants using Rust's type system
Authenticate and authorize users of your API
Implement a robust error handling strategy
Observe the state of your application using structured logs
Set up an extensive continuous integration and continuous deployment pipeline for your Rust projects
The book is composed of 11 chapters, for a grand total of 600 pages. All supporting code (including tests!) is available on GitHub.
Who Is This Book For:
The Rust ecosystem has had a remarkable focus on smashing adoption barriers with amazing material geared towards beginners and newcomers, a relentless effort that goes from documentation to the continuous polishing of the compiler diagnostics. There is value in serving the largest possible audience.
At the same time, trying to always speak to everybody can have harmful side-effects: material that would be relevant to intermediate and advanced users but definitely too much too soon for beginners ends up being neglected. I struggled with it first-hand when I started to play around with async/await.
There was a significant gap between the knowledge I needed to be productive and the knowledge I had built reading The Rust Book or working in the Rust numerical ecosystem. I wanted to get an answer to a straight-forward question:
Can Rust be a productive language for API development?
Yes.
But it can take some time to figure out how.
That’s why I am writing this book.
I am writing this book for the seasoned backend developers who have read The Rust Book and are now trying to port over a couple of simple systems.
I am writing this book for the new engineers on my team, a trail to help them make sense of the codebases they will contribute to over the coming weeks and months.
I am writing this book for a niche whose needs I believe are currently underserved by the articles and resources available in the Rust ecosystem.
I am writing this book for myself a year ago.
Скачать Zero To Production In Rust: An introduction to backend development
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.