Автор: Shing Lyu, Andrew Rzeznik
Издательство: Apress
Год: 2023
Страниц: 397
Язык: английский
Формат: pdf
Размер: 10.2 MB
Go beyond the basics and build complete applications using the Rust programming language, updated for Rust 2021 edition. The applications you'll build over the course of this book include a high-performance web client, an embedded computer (for a robot, for example), a game, a serverless web app, and an application that incorporates AI and machine learning.
Each chapter is organized in the following format: what the kind of should application look like; requirements and user stories of our example program; an introduction to the Rust libraries used; the actual implementation of the example program, including common pitfalls and their solutions; and a brief comparison of libraries for building each application, if there is no clear preference.
Practical Rust Projects, Second Edition will open your eyes to how Rust can be put to practical, real-world use. After reading this book, you will be able to use Rust to build a variety of your own projects.
This book was created to provide some of these projects, which will let you take your core Rust knowledge and apply it to several different areas. Its goal is to expose you to new ideas and different ways of thinking, and show, not tell, you how Rust can be used. One of the big reasons I was drawn to Rust as a programming language was how it embodies the “general purpose” paradigm. If you ask ten different people why they like the language, you’ll frequently get ten different answers. Some people like it because it’s low level; it compiles directly to machine code in the same way as C, with all of the fine control afforded there. However, some people like it because it’s high level, with a strong type system and advanced macros for working with abstract constructs. Some people like Rust because it feels like a safer C++, while others learn it as a more performant alternative to Python. Some people like Rust for its large selection of available packages, while others like how powerful the core language feels even when the standard library has been disabled.
What You Will Learn:
Explore practical Rust programming language-based projects, examples and case studies
Create a GUI
Build a high performance web Front-end using WebAssembly
Develop REST APIs using Rust
Go serverless to develop a cloud application using the Amazon AWS Rust SDK
Create a game using Rust, along with AI and machine learning apps
Who This Book Is For:
Those with basic Rust knowledge who want to learn more about how to apply Rust in real-world scenarios.
Скачать Practical Rust Web Projects: Building Cloud and Web-Based Applications, 2nd Edition