Re:Project Loom: Fibers and Continuations for the Java Virtu...
by tomp on Friday November 03, 2017 @12:11PM
(#15620250)
Yeah, I've considered playing with Quasar, but I'm a bit concerned about the "colored functions" that it imposes. In any case, I'm mainly interested in Fibres as a code generation platform (for some toy languages I'm playing with), and obviously there I could avoid having to use Quasar/bytecode rewriting by simply emitting functions as state machines in the first place... My hope for project Loom is to be able to avoid this, i.e. to have it taken care of automagically by JVM.
[ Parent
| on HN ]
Re:Project Loom: Fibers and Continuations for the Java Virtu...
by pron on Saturday November 04, 2017 @01:38PM
(#15626055)
Quasar doesn't have colored functions, and you can instrument your code at build time, as part of the compilation process. But an implementation in the JVM is indeed more robust and efficient.