Project Loom is an oracle project that aims to add continuations to the JVM.
if that feature does end up making it into the JDK and performance is decent, then kilim would no longer need to weave code
i ported the kilim Xorshift example to project loom continuations:
- the good news is that it's largely a drop-in replacement for kilim weaving
- the bad news is performance is terrible, 600x slower than kilim
i'll continue to track this, and if performance improves i'll probably try porting kilim to it (it should be easy - the API is very similar)