Golo
— a lightweight dynamic language for the JVM.

back to the front page

 Now available: Eclipse Golo 3.3.0

View this post on Instagram

A post shared by Julien Ponge (@jponge) on

๐Ÿ‘‹

Nearly 1 year without a release, but today we are happy to share with you version 3.3.0 of Eclipse Golo!

This release is mainly about fixing bugs, internal gardening and improvements. The most notable feature is the introduction of tail-call elimination.

Many thanks to Yannick Loiseau who has been the main driving force in the recent months!

๐Ÿ‘ Fully compatible with JDK 8

This release has been fully tested against OpenJDK 8u192. While Java 8 support by Oracle is ending soon, you have many free of charge long-term support options with OpenJDK builds from AdoptOpenJdk, Red Hat and Azul Systems.

๐Ÿ˜ข JDK 9 broke everything

You can run Golo on Java 11 and in most cases it will be just fine. You will likely get the typical warnings on illegal reflective access, but this is only a warning in the current JDK versions (9, 10, 11 and 12-ea).

Golo is however not supported on Java 11.

Oracle introduced Java modules in Java 9, and along the way made changes to the reflective access permissions.

About 20 years of assumptions on how reflection and class loading works on the JVM have been put aside to make way for a more restrictive (and supposedly โ€œmore secureโ€โ€ฆ) set of rules.

A full compatibility report with possible solutions is available at https://github.com/eclipse/golo-lang/issues/504.

In a nutshell:

โš™๏ธ Using non-traditional runtimes

The traditional JDK runtime is that of OpenJDK + the Hotspot compiler.

You may be interested in trying alternative runtimes, and if so here is what you need to know.

OpenJDK + Graal

You can replace the Hotspot JIT compiler (C2) with Graal.

Peak performance is excellent compared to Hotspot, especially as the escape analysis in Graal plays well with invokedynamic. Still, it takes lots of runs before Graal starts emitting efficient code.

Substrate VM (Graal)

You may be tempted to generate a native executable from SVM, but since invokedynamic is on the list of unsupported features this will just not work.

OpenJ9

Golo works very well on this memory-efficient runtime. invokedynamic does not get the same boost as with Graal as a JIT compiler, but OpenJ9 + Golo remains an interesting combination when you consider memory and boot time.

๐Ÿ’ซ Where are we going?

We will continue to support Golo as it is now on Java 8, especially as there will be free supported builds of OpenJDK for many more years.

Our team is looking for enthusiasts to join and help us migrate the code base to Java 11 and beyond!

The technical challenges are fantastic, and Golo remains a small and approachable code base, so why not try if you have time? ๐Ÿ˜‰ Feel-free to get in touch with us by email or Gitter and we will do our best to help you.

comments powered by Disqus


Copyright © 2012 – 2018 INSA Lyon, CITI Laboratory and contributors.

Privacy Policy | Terms of Use | Copyright Agent | Eclipse Public License | Legal Resources