Re: core.async vs continuations

2017-07-10 Thread Timothy Baldridge
Yes, calls to ! could be written with continuations, or call/cc, but they are not implemented that way. Instead the code inside the body of the `go` macro is rewritten into a statemachine. This sort of rewrite is a lot like the rewrites that C# does for yield, and Cython does much of the same sort

core.async vs continuations

2017-07-10 Thread Răzvan Rotaru
Hi, Pardon the ignorance, I was just rewatching Rich Hickeys talk about core.async, and realized that the await call is actually a continuation (like call/cc from scheme). And if I am not mistaken, you can't implement call/cc with macros, so I suspect there is a difference, but I fail to see i