In my opinion the reason why Bash-Script/Perl/Python are the predominant Linux script languages is, because all or most of them come preinstalled on every Linux distribution, and because they run standalone with minimal startup time and memory fotprint. One of the great things about Grooy is, that it is "one language for everything", and as a dynamic language with a concise and C-based (i.e. widely used/understood) syntax, good File support, String interpolation and powerful closures, it is well suited to be used as a modern Script language.

However Groovy is dependent on an existing Java installation (of the correct version).

Since JVM based applications are, in my experience, often massively disliked by people outside of the JVM community (e.g. sys admins), I have been wondering whether Groovy could/should supply a precompiled, memory footprint optimized, standalone version that runs without a JVM, so that it could be used for Linux (Windows) scripting the same as Bash-Script/Perl/Python are, and if GraalVM could be the principal way to do it (https://www.graalvm.org/docs/reference-manual/native-image/) <https://www.graalvm.org/docs/reference-manual/native-image/> ?

Thoughts ?
mg



Reply via email to