RetroLambda

From APIDesign

Revision as of 10:20, 18 July 2021 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

https://github.com/orfjackal/retrolambda

RetroLambda project is capable to convert JDK8's usage of InvokeDynamic in lambdas to normal static method invocations.

Bck2Brwsr was using RetroLambda since Bck2Brwsr 0.10 to successfully bring Lambdas to browsers. However it turned out that there are significant flaws using RetroLambda in long running processes like Groovy. RetroLambda relies on reflection to final private field and such change only works before the code gets compiled to native. That's usually true, if the hack is applied sooner than the code warms up. However that is not the case with Gradle daemon. As such Bck2Brwsr 0.50 is rewriting the code to avoid RetroLambda altogether.

Personal tools
buy