← Latest products

ARM64 port of coroutines from Asynchronous Programming in Rust book

The amazing book Asynchronous Programming in Rust by Carl Fredrik Samson has a chapter on implementing stackful coroutines (fibers) in Rust for x86_64 architecture, both Linux and MacOS. But unlike the other chapters, no AArch64 implementation was included for the sake of simplicity. I tried to port it to AArch64, and this post describes my approach. This text is just an additional material for the book. I presume you are familiar either with it or with the original code at ch05/c-fibers. The Asynchronous Programming in Rust by Carl Fredrik Samson has a chapter on implementing coroutines; however, unlike other chapters, it is x64-only.

Visit monoid.github.ioexternal site

Reactions (1)

Similar products

by description similarity

  1. An event loop for asyncio written in Rust

    Hacker News5 pts

  2. Whirlwind

    github.com

    Async concurrent hashmap for Rust

    Hacker News140 pts

  3. Neco

    github.com

    Coroutine Library for C

    Hacker News145 pts

  4. runtime-agnostic primitives

    Hacker News6 pts

  5. Await-Tree

    github.com

    Visualize Async Rust Task Execution in Real-Time

    Hacker News28 pts