Yesterday I was thinking about serialization of fiber-based state machines and remembered Near (RIP) had written an article exploring the problems and potential solutions: https://saveweb.github.io/near.sh/articles/design/cooperative-serialization.html.
Cooperative Serialization — Near's Respite

@pervognsen I got all excited because I thought you meant IO serialization until I started reading the article. >_<

Though this is a more interesting topic than I would have expected!