Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl5 to Java compiler - first release

by fglock (Vicar)
on May 15, 2017 at 20:23 UTC ( #1190345=note: print w/replies, xml ) Need Help??


in reply to Re: Perl5 to Java compiler - first release
in thread Perl5 to Java compiler - first release

We have experimented with building an Android app in a hackathon last year.

This was using Perl for the "Activity" and importing the native Java modules - blogs.perl.org and youtube presentation

This would work best if we implemented a Perl module. Calling Android APIs directly was a bit messy.

Note that you can also run the real "perl" on Android - perl dist and blogs.perl.org

Another experiment was with an HBase table scan for some bigdata project.

These projects all used pre-compiled Perl to Java. Precompiled Perl can be potentially faster than "perl" - specially if you use typed variables.

The new thing in this release is that it can execute Perl directly, without precompilation - and it also executes BEGIN blocks and eval-string. Java applications can also "embed" Perl if there is a need for scripting.

Also maybe some company that is migrating to Java can keep using Perl, instead of rewriting.

tl;dr This is still new and I don't have a clear idea what it will be used for.

  • Comment on Re^2: Perl5 to Java compiler - first release

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1190345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-01-23 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?