Async Rust

Unleashing the Power of Fearless Concurrency

Cover of Async Rust

PDF · English

Price and availability

PDF eBookUS store

$55.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
O'Reilly Media
Published
12 November 2024
ISBN
9781098149062
Subjects
Computer programming / software development, Object-oriented programming (OOP), Programming & scripting languages: general, Parallel processing, Computer programming / software engineering, Object-oriented programming (OOP), Programming and scripting languages: general, Parallel processing

About this book

Already popular among programmers for its memory safety and speed, the Rust programming language is also valuable for asynchrony. This practical book shows you how asynchronous Rust can help you solve problems that require multitasking. You'll learn how to apply async programming to solve problems with an async approach. You will also dive deeper into async runtimes, implementing your own ways in which async runtimes handle incoming tasks.Authors Maxwell Flitton and Caroline Morton also show you how to implement the Tokio software library to help you with incoming traffic, communicate between threads with shared memory and channels, and design a range of complex solutions using actors. You'll also learn to perform unit and end-to-end tests on a Rust async system.With this book, you'll learn:How Rust approaches async programmingHow coroutines relate to async RustReactive programming and how to implement pub sub in async rustHow to solve problems using actorsHow to customize Tokio to gain control over how tasks are processedAsync Rust design patternsHow to build an async TCP server just using the standard libraryHow to unit test async RustBy the end of the book, you'll be able to implement your own async TCP server completely from the standard library with zero external dependencies, and unit test your async code.

Bibliographic data © Gardners Books Ltd.