groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibault Kruse <tibokr...@googlemail.com>
Subject Re: Is it possible to enable CompileStatic for an entire project
Date Thu, 23 Jun 2016 06:00:05 GMT
On Tue, Jun 21, 2016 at 6:44 PM, C├ędric Champeau
<cedric.champeau@gmail.com> wrote:
> A strong -1 for both options. We already have 2 variants of Groovy today,
> indy and non indy, and in practice *nobody uses the invokedynamic version*
> because it's impractical to use. ...
> Adding a new dimension, which is orthogonal to invokedynamic makes it even more complicated.

How about dropping the indy version then, and instead offer a
statically compiled one?

> Second, IDEs need to know whether a file is statically compiled or not. The
> `@CompileStatic` annotation makes it very clear, and the default is the
> standard dynamic mode that has been in Groovy for more than 10 years.

It has been suggested to use a different file extension for that
purpose, though my idea would be .gravy.

Mime
View raw message