Twitter | Search | |
Sebastian Markbåge
Not to be a downer but I can't get excited about async/await after seeing algebraic effects in OCaml. I feel like we're arguing over scraps.
Reply Retweet Like More
Bradley Farias 11 Aug 16
Replying to @sebmarkbage
after working with co-routines I have no desire for that kind of forking in impure/mutable environments
Reply Retweet Like
Sebastian Markbåge 11 Aug 16
Replying to @bradleymeck
How is async/await better?
Reply Retweet Like
Bradley Farias 11 Aug 16
Replying to @sebmarkbage
not saying it is, just saying "algebraic effects" isn't something I really desire
Reply Retweet Like
Bradley Farias 11 Aug 16
Replying to @sebmarkbage
at least not in JS
Reply Retweet Like
Alexey Golev 11 Aug 16
Replying to @sebmarkbage
try..catch for error handling is the reason I can’t see myself using async/await. And algebraic effects…I wish)
Reply Retweet Like
Kurt Loves CrossFit 11 Aug 16
Replying to @sebmarkbage
I just started using it and I really like it, definitely helps with readability
Reply Retweet Like
Sam Goldman 11 Aug 16
Replying to @sebmarkbage
effects, multicore, implicits—ocaml is getting more attractive by the day
Reply Retweet Like
Jordan ⚛️ 11 Aug 16
Alg effects are just the primitive that you can use to implement all kinds of abstractions.
Reply Retweet Like
Joe Savona 11 Aug 16
Replying to @sebmarkbage
couldn't agree more.
Reply Retweet Like
Julien Goux 11 Aug 16
Replying to @sebmarkbage
This is why I favor fantasy-land's Future over async/await. At least it's truly monadic.
Reply Retweet Like
Gorgi Kosev 11 Aug 16
multicore? where?
Reply Retweet Like
Sam Goldman 11 Aug 16
Replying to @spion @sebmarkbage
Reply Retweet Like
Gorgi Kosev 12 Aug 16
afaik thats been in the works for many years now, and just recently didn't make it into 4.03...
Reply Retweet Like
Gorgi Kosev 12 Aug 16
well, this particular implementation only for 2 years.
Reply Retweet Like
Gregor Müllegger 12 Aug 16
Replying to @sebmarkbage
is there a good introduction to algebraic effects and why they are so cool you can recommend?
Reply Retweet Like
Evan 15 Aug 16
writing try/catches always makes me feel dirty and inadequate
Reply Retweet Like
Alexey Golev 16 Aug 16
Replying to @sebmarkbage
also, afaik a function with try/catch block is never optimised (at least by V8)
Reply Retweet Like
Evan 16 Aug 16
that used to be the case, though I remember seeing a mailing list message that they're trying to stop auto deopt
Reply Retweet Like