Proposed API for JEP 259: Stack-Walking API
John Rose
john.r.rose at oracle.com
Sat Oct 31 19:51:12 UTC 2015
On Oct 31, 2015, at 11:50 AM, Remi Forax <forax at univ-mlv.fr> wrote:
>
> I think most of the runtime language developers, myself included will kill to have this feature included into the JDK.
> There are several features of dynamic languages that are currently hard to implement like type specialization, stack reification, as you said fibers, and more generally de-optimization that will be far easier to implement with that capability (currently only Nashorn can afford to implement some of these optimizations).
Oh, yes, we've been thinking about it, eagerly, even though other things (modules, true polymorphism, value types, native interconnect) keep pushing to the top of the list.
Most recently, at the JavaOne "Ask the Architects", we were asked "what big-ticket item would you add to Java that is not already on the map?" Mark immediately said, "coroutines".
— John
P.S. ...Which relieved me of the duty to say "coroutines", allowing me to talk about a group of overlapping DSL-like features like object construction expressions, complex constants, builders and complex array selection expressions. Those things all fit together, you know.
More information about the core-libs-dev
mailing list