Now available: Golo 0-preview6
…and here comes a new Golo preview!
(for the impatient)
Here is what’s new in Golo
- New collection literals for common data structures (arrays, tuples, lists, sets, maps, vectors).
- The ability to define structured data types through the
- Number literals now support underscores (contributed by Franck Verrot).
- Dynamic objects performance is better than ever (
- Try Golo on Google AppEngine
- Download a preview release of Golo
- Read the Golo programming language guide
- Fork the project on GitHub
You can now take advantage of collection literals, as summarized in the following table:
Here is a sample usage:
Structs are great if you need to define data types:
Structs come with many goodies, including proper
hashCode() implementations. They are iterable, and immutable copies can be made.
Because structs translate to real JVM classes, you may also take advantage of augmentations to add behavior, as the following example shows:
Dynamic object performance
The runtime method dispatch logic for dynamic objects has been rewritten. The new
invokedynamic-based plumbing results in a simpler code with less call site invalidations.
This results in dramatically faster dynamic objects!
In the community
Our small and fun community is active!
Jeff Maury is making strong progress with the Golo Eclipse tooling, ensuring that it stays current with the additions in the Golo grammar.
Philippe Charrière contributed a few improvements to our demonstration web console that runs on Google AppEngine.
He changed the editor component, providing syntax highlighting. He also included the proper metadata so that the page can be saved as an application on iOS devices. You have no more excuses for not trying Golo while in the bus.
Wanna work on our NetBeans IDE?
The NetBeans support for Golo is currently behind the language evolutions, so if you are interested in helping out this is a very solid bet!