Java協程

1.Java continuation

1.1. Javaflow

http://commons.apache.org/sandbox/commons-javaflow/

1.2. Continuations
http://hg.l33tlabs.org/Continuations/
Lightweight Java Continuations Library

2.Java coroutine

2.1. kilim

https://github.com/kilim/kilim
Lightweight threads for Java, with message passing, nio, http and scheduling support.
http://kilim.malhar.net

論文:Kilim:Isolation-Typed Actors for Java
https://github.com/kilim/kilim/blob/master/docs/kilim_ecoop08.pdf

論文:A Thread of One’s Own
https://github.com/kilim/kilim/blob/master/docs/thread_of_ones_own.pdf

https://github.com/jackjhy/httpclient

taowen/kilim
https://github.com/taowen/kilim

2.2. quasar
http://docs.paralleluniverse.co/quasar/
Quasar is a library that provides high-performance lightweight threads, Go-like channels, Erlang-like actors, and other asynchronous programming tools for Java and Kotlin.

2.3. PicoThreads

論文: PicoThreads: Lightweight Threads in Java
http://research.microsoft.com/en-us/um/people/abegel/cs262.pdf

https://launchpad.net/picothreads

發佈了32 篇原創文章 · 獲贊 13 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章