Mirror of
forum.nim-lang.org
index
2256 :: Delimited continuations
[2016-05-11T11:23:23+02:00]
View Orginal
ul
(orginal)
[2016-05-11T11:23:23+02:00]
view original
These talk and post are inspiring
http://blog.paralleluniverse.co/2015/08/07/scoped-continuations/
, but I feel my kung-fu is not strong enough to reason about how such thing would be useful in Nim and how to implement it properly. What do you think?
ul
(orginal)
[2016-05-11T18:20:55+02:00]
view original
Answering my own question I think that coroutines are equivalent to delimited continuations and I see that they are implemented in
https://github.com/nim-lang/Nim/blob/devel/lib/pure/coro.nim
ul
(orginal)
[2016-05-11T18:26:27+02:00]
view original
But no, coro library is not powerful enough =(