Durable Coroutines for Go
github.com
Durable Coroutines for Go
1–10 of 37 posts
Re: Durable Coroutines for Go
#2https://github.com/stealthrocket/coroutine/blob/main/getg_am...
Re: Durable Coroutines for Go
#3Re: Durable Coroutines for Go
#4edit: here it is https://dl.acm.org/doi/10.1145/949344.949362 It was a built-in bytecode interpreter with suspendable threads
It changed significantly how you think about cooperating processes. It was like watching 2 processes have a conversation with each other without the controlling code getting involved in any way. Also, if you save the coros after each call, you can get step-by-step replays which are very helpful in debugging.
Re: Durable Coroutines for Go
#5This seems really brittle. https://github.com/stealthrocket/coroutine/blob/main/getg_am...
Re: Durable Coroutines for Go
#6Why are channels insufficient for this use case?
Re: Durable Coroutines for Go
#7This seems really brittle. https://github.com/stealthrocket/coroutine/blob/main/getg_am...
Re: Durable Coroutines for Go
#8Re: Durable Coroutines for Go
#9Re: Durable Coroutines for Go
#10what if u build a wasm runtime that can save and restore memory with and execution states, sounds much more full proof. or i might have misunderstood this idea :D.