Groovy
Groovy Indy
I was visiting Groovy Download page for Groovy 2.4.8 and I finished reading about Groovy Indy; Groovy Invoke Dynamic Support.
Since Groovy 2.0, we added support for the JVM invoke dynamic instruction. This instruction is supported since Java 7 and is a new bytecode instruction in the JVM that allows easier implementation of dynamic languages. This instruction is used internally, by the JVM, for the lambda support in Java 8.
Apparently, older jdk7s had a lot of bugs, and it is one of the reasons why Groovy Indy is not the default yet. Maybe in Groovy 3.
Using Groovy to play with invokedynamic
@cedricchampeau shows a build.gradle file configured to use Groovy Indy.
people wanting to test a Groovy runtime that uses invokedynamic have two things to do:
- use the groovy-indy jar which includes support for invokedynamic
- compile classes with the -indy flag
Moreover, the post explains how you can leverage Groovy to test the invokedynamic API by yourself. That part is a bit hardcore, though.
Being a Paid OSS developer for Groovy
One of the most important persons in Groovy's development throughout the years is @JochenTheodorou. He keeps a low profile. That it is probably the reason why most of you would not know him and why he does not get all the recognition he deserves.
This linked post sheds a light on Jochen's personality. Sometimes, we forget there are human beings behind the technology pieces we use and love every day.
Please, frame this post in April 2015, the time Pivotal abandoned Groovy.
Note: late 2015 Jochen joined Canoo's Groovy stellar Team.
Groovy Calamari Support
Are you looking for a Groovy developer?
You can publish jobs offers in Groovy Calamari's Jobs section and get organisation's roles noticed.
Grails
The Grails 3 Guide - Creating your first Grails Application
My colleague, @zacharyAKlein published last Monday a book-length guide into Grails 3.
Don't be deceived by the guides title. If you are new to Grails it is great material. If you have not yet made the transition from Grails 2 to Grails 3 then it is a must read. If you are already in Grails 3, I bet you learn a couple of things. Eg. Changing application port, Grails console, Create your own sitemesh layout ...
Asset-Pipeline Plugin
Great presentation by @tednaleid
- Why you should use Asset Pipeline Plugin?
- How to use it?
- How does it work?
- AngularJS tips
- Advantages over Resources Plugin
Custom Fonts as Assets in Grails 3
@VolkerGoebbels shows you how to organize you custom fonts imports in Grails 3 with the help of Asset Pipeline Plugin.
Comment
I already purchased the Practical Grails 3 Book; early access. Same with Grails 3, Step by Step; 60% complete. However, I have not read them yet. Actually, I have not even started ☺️. I will read them in the upcoming weeks. Promised!
Moreover, at OCI, we plan to publish a lot of training material. Bookmark guides.grails.org.
That it is to say, with the books, the community material, and the Grails Guides, learning Grails 3 is getting easier and more rewarding.
Sergio del Amo