How does one accomplish corountine like protothread in Rust?

Protothreads is an extremely lightweight stackless threads implement by ANSI C .

https://dunkels.com/adam/pt/

Async functions have roughly the same advantage, but have a bonus: full local variables and easy state machines.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.