Re:Avian: a lightweight alternative to Java that runs on iOS...
by dpratt on Friday October 23, 2015 @08:14PM
(#10441904)
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.
[ Parent
| on HN ]
Re:Avian: a lightweight alternative to Java that runs on iOS...
by joel_dice on Saturday October 24, 2015 @01:56AM
(#10442617)
Specifically, 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/1GSGgNM8...
More info is available here: http://oss.readytalk.com/avian-web/javadoc-1.2.0/avian/Conti...