Details zum E-Book

Asynchronous Programming in Rust. Learn asynchronous programming by building working examples of futures, green threads, and runtimes

Asynchronous Programming in Rust. Learn asynchronous programming by building working examples of futures, green threads, and runtimes

Carl Fredrik Samson

E-book
Step into the world of asynchronous programming with confidence by conquering the challenges of unclear concepts with this hands-on guide. Using functional examples, this book simplifies the trickiest concepts, exploring goroutines, fibers, futures, and callbacks to help you navigate the vast Rust async ecosystem with ease.
You’ll start by building a solid foundation in asynchronous programming and explore diverse strategies for modeling program flow. The book then guides you through concepts like epoll, coroutines, green threads, and callbacks using practical examples. The final section focuses on Rust, examining futures, generators, and the reactor-executor pattern. You’ll apply your knowledge to create your own runtime, solidifying expertise in this dynamic domain. Throughout the book, you’ll not only gain proficiency in Rust's async features but also see how Rust models asynchronous program flow.
By the end of the book, you'll possess the knowledge and practical skills needed to actively contribute to the Rust async ecosystem.
  • 1. An Introduction to Asynchronous Programming
  • 2. Epoll, Kqueue and IOCP
  • 3. Epoll example
  • 4. Different strategies for modelling asynchronous program flow
  • 5. Stackfull Coroutines/Green Threads/Fibers [Example]
  • 6. Callbacks and promises [Example]
  • 6. Futures in Rust
  • 7. Coroutines and async/await
  • 8. Runtimes, Wakers, and the Reactor-Executor Pattern
  • 9. Coroutines, Self-Referential Structs, and Pinning
  • 10. Creating Your Own Runtime
  • Titel: Asynchronous Programming in Rust. Learn asynchronous programming by building working examples of futures, green threads, and runtimes
  • Autor: Carl Fredrik Samson
  • Originaler Titel: Asynchronous Programming in Rust. Learn asynchronous programming by building working examples of futures, green threads, and runtimes
  • ISBN: 9781805126621, 9781805126621
  • Veröffentlichungsdatum: 2024-02-09
  • Format: E-book
  • Artikelkennung: e_3rza
  • Verleger: Packt Publishing