I came across this intriguing project by Cliffe Biffle, called lilos.

Some things that stood out:

  • "Instead of conventional threads, lilos uses the Rustย async fn feature to transform code into state machines that can be executed from a shared stack"

  • "...the first and only Rust async runtime with an entirely cancellation-safe API!"

I wasn't really familiar with the "cancellation-safe" idea and it's motivations so I dug more into it in his article here.

This one's going in my list of projects to explore. I hope to share what I make with this at some point.