I think it is a great idea, thanks MG!
I've been doing Perl/Bash for decades, however more and more I am
employing Groovy to do my sysadmin chores. I learned to live with an
extra second or two to bring up a JVM. However, having this dependency
gone would make things easier and faster for sure.
Although, I am not sure how feasible it is considering the close ties
between Groovy and JVM. But +1 for sure!
--
With regards,
Cos
On 2020-08-05 11:04, MG wrote:
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