Re:Durable Coroutines for Go
by deadfa11 on Friday October 20, 2023 @03:54PM
(#37960751)
Eh, this one seems a reasonable trade-off to me at this point. If you try to handle every potential issue upfront, you'll never release, and this seems entirely fixable down the road. Persistent coroutines is a pretty challenging area to explore (tried this with Lua in a previous venture), and this seems a pretty minor point in that overall complexity. I'm curious, what else have you come across that justifies the "really brittle" conclusion?
[ Parent
| on HN ]
Re:Durable Coroutines for Go
by tedunangst on Friday October 20, 2023 @04:43PM
(#37961268)
You do what you have to do, but as a user, I like to know how things will break and what my options will be. I was curious how it worked, and took a peek at the first file that seemed it might reveal something interesting.
They just seem pretty pointless as a tool in language that already have super-light green threads and good concurrency primitives.
https://research.swtch.com/coro might be an interesting read.