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 other chapters, no AArch64 implementation was provided 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. ...
Introductory Post
Hi! My name is Ivan Boldyrev, I am software engineer born in Novosibirsk, Russia. My main areas of interest are functional programming, Rust, and big data/highload. Since the beginning of 2024 I live in Barcelona, Spain. My favourite projects are: StarJs – astronomical library for JavaScript. FUCC – LALR parser generator for Common Lisp. hdfesse – WIP HDFS library in Rust (originally intended to replace libhdfs). I am big fan of Emacs and Apple Macbook Air M1. My other hobbies include studying French language, ink pens, sailing and reading. ...