has anybody written an article called something like "a unifying explanation of async/await, generators, continuations, thunks, and TCO implementations"? i feel like there's a bunch of overlap between those topics, but my understanding isn't very clear
-
-
Replying to @eignnx
Heh, it feels like both "monads" and "effect systems" could together cover the topics you're describing here. Not an expert on either topic tho, but it might be a starting point.
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts @eignnx
In case there isn't a clear explanation of "effect systems" out there: my understanding is that it's: "What if try/catch was generalized to a control-flow construct." Async/await and generators are specialized versions of this. Yield -> catch -> make progress -> yield back.
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
inneresting, i'll have to do some reading on effect systems. they're different from continuations?
2 replies 0 retweets 1 like
I'm not sure tbh. I only have like a rudimentary understanding of them 
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.