groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <>
Subject RE: Testing the Java 8 / Parrot parser online!
Date Fri, 24 Mar 2017 21:06:14 GMT
That is awesome. If the Java 8 syntax is supported, does that mean Groovy will support lambdas?
One thing that saddened me about using Java 8 from Groovy is that you have the overhead of
closure classes/meta class and the “dynamic” conversion/proxy into the Java functional
interfaces, while the same code written in Java uses the lambda functionality which appears
to return a singleton instance of a VM-generated class with presumably much less overhead.


From: Guillaume Laforge []
Sent: Friday, March 24, 2017 4:37 PM
Subject: Testing the Java 8 / Parrot parser online!

Hi all,

I've deployed a version of the venerable Groovy Web Console that uses the Parrot parser!
And we'd love if you could try it out  and report your findings.
You don't have to install anything, just go online, and run some scripts or classes, using
Java 8 syntax constructs and APIs, and see how well it works.

I've blogged about it here:

And you can try it here online directly, without installing anything:

It's built with Java 8, and runs on the upcoming version of Google App Engine's Java runtime
running on an OpenJDK 8. It's using the "indy" jar, thus with the invoke dynamic support automatically.

I'll deploy that version at some point to the usual web console URL, once we have an official
release of the Parrot parser.

What we'd like is you to go and try it out :-)
Please spend a moment to try different things, and if you find any problem, please report
them back here.

Thanks for your help!


Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

Social: @glaforge<> / Google+<>

This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.
View raw message