Ones which can abort execution no matter what has been called (so it interops with all existing libs)
-
-
Replying to @jlongster @littlecalculist
How can you effectively abort execution without introducing these problems: http://docs.oracle.com/javase/6/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html …
3 replies 0 retweets 0 likes -
Replying to @wycats @littlecalculist
They key being that a function can't be arbitrarily interrupted. Only at the function call boundary. Anything that could get in an...
1 reply 0 retweets 0 likes -
inconsistent state could just as well with `await` of the same call. Delimited continuations do usually come with primitives...
2 replies 0 retweets 0 likes -
for guarding against that though ("on unwind do this") But I think you can have better abstractions where things don't get inconsistent her
1 reply 0 retweets 0 likes -
Replying to @jlongster @littlecalculist
To me the limitations of generators are rather small (being explicit when you're doing cooperative tasking), so worth the extra typing.
2 replies 0 retweets 0 likes -
Replying to @wycats @littlecalculist
I get your point and I don't disagree. But there is a lot of proven ground that langs with del conts have and abstractions you simply...
1 reply 0 retweets 0 likes -
can't do with gens unless you're extremely verbose. Anyway, take a look at my link, Swift's approach looks super interesting
1 reply 0 retweets 0 likes -
Replying to @jlongster @littlecalculist
I read it :) (but admittedly on my phone)
1 reply 0 retweets 1 like -
Replying to @wycats @littlecalculist
And admittedly I need to read it more to see how they actually take advantage of it
1 reply 0 retweets 0 likes
I read it again more thoroughly. Opinion stayed the same :)
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.