> The RPC doesn't use async since I'd like to use ARC instead of ORC to avoid > that overhead.
Have you measured the overhead? What is it's like? > Does anyone have ideas on how to make an async library for Nim using the > esp's event loop? Could it be done using ARC only? I'm quite sure it can be done, other purely refcounted systems have async too (Rust, C++, Swift). But how the callback types are setup needs to be redesigned then. That was so much work for us than we gave up and added a cycle collector to ARC. I hope with strategic `acyclic` and `cursor` annotations the overhead of the cycle collector can be pushed into the "noise" level.