Difference between revisions of "Coroutines for the Java Platform"
From JVMLangSummit
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
;Speaker: Lukas Stadler | ;Speaker: Lukas Stadler | ||
;Project: http://openjdk.java.net/projects/mlvm/ | ;Project: http://openjdk.java.net/projects/mlvm/ | ||
− | ;Resources: [[Media:Coroutines.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15506 | + | ;Resources: [[Media:Coroutines.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15506 Video] |
===Abstract=== | ===Abstract=== | ||
Coroutines are an elegant and efficient implementation construct for numerous algorithmic problems. As more and more languages are implemented on top of the Java Virtual Machine, many of which provide coroutine-like language features, the need for a coroutine implementation has emerged. We present an approach to coroutine implementation that efficiently handles a large range of workloads. It imposes no overhead for applications that do not use coroutines and performs well for applications that do. We have implemented our approach for the Java HotSpot Virtual Machine as part of the MLVM project. | Coroutines are an elegant and efficient implementation construct for numerous algorithmic problems. As more and more languages are implemented on top of the Java Virtual Machine, many of which provide coroutine-like language features, the need for a coroutine implementation has emerged. We present an approach to coroutine implementation that efficiently handles a large range of workloads. It imposes no overhead for applications that do not use coroutines and performs well for applications that do. We have implemented our approach for the Java HotSpot Virtual Machine as part of the MLVM project. |
Latest revision as of 12:13, 3 September 2010
- Speaker
- Lukas Stadler
- Project
- http://openjdk.java.net/projects/mlvm/
- Resources
- Slides and Video
Abstract
Coroutines are an elegant and efficient implementation construct for numerous algorithmic problems. As more and more languages are implemented on top of the Java Virtual Machine, many of which provide coroutine-like language features, the need for a coroutine implementation has emerged. We present an approach to coroutine implementation that efficiently handles a large range of workloads. It imposes no overhead for applications that do not use coroutines and performs well for applications that do. We have implemented our approach for the Java HotSpot Virtual Machine as part of the MLVM project.