ritikmishra / async-titanic

me poking around at manually implementing an async rust executor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async-titanic

an exploration into how little heap we need to use async rust

I made this async executor to poke around at async without using a lot of heap allocation.

The example uses sockets + mpsc, but maybe a design not too different from this one could be used on an embedded device where you know ahead of time exactly what peripherals you will be using.

There is a mechanism to store unnameable futures (i.e the return type of async fns) statically, as well as a waker implementation that does not strictly require an allocator.

About

me poking around at manually implementing an async rust executor


Languages

Language:Rust 100.0%