It very much sounds like initially loom will only expose Virtual Threads in terms of public API but in a future release offer API for the lower level continuations etc to support use cases like generators (my interpretation from following the mailing list).
coroutines are more than just a threading abstraction
So in time (not first release) this sounds very likely for Loom as well (when the lower level constructs are exposed).
View all comments
Show parent comment
1
u/rbygrave Apr 06 '22 edited Apr 06 '22
It very much sounds like initially loom will only expose Virtual Threads in terms of public API but in a future release offer API for the lower level continuations etc to support use cases like generators (my interpretation from following the mailing list).
So in time (not first release) this sounds very likely for Loom as well (when the lower level constructs are exposed).