3 ms·
As an interesting aside, Avian has native support for coroutines through stack de/re-hydration. I have yet to use it, but it looks quite interesting.
by dpratt 11y ago
As an interesting aside, Avian has native support for coroutines through stack de/re-hydration. I have yet to use it, but it looks quite interesting.
- joel_dice 11y agoSpecifically, it supports native first class continuations, including both call/cc-style and delimited (shift/reset-style), which can form the basis for coroutines, generators, and other fun stuff. It also supports full tail call optimization. Both of those features work with Java, Clojure, Scala, etc. For example: https://groups.google.com/d/msg/clojure/U4i4nVsYfi8/1GSGgNM8020J https://groups.google.com/d/msg/clojure/U4i4nVsYfi8/1GSGgNM8... More info is available here: http://oss.readytalk.com/avian-web/javadoc-1.2.0/avian/Continuations.html http://oss.readytalk.com/avian-web/javadoc-1.2.0/avian/Conti...