Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^5: A great talk on Perl6

by raiph (Hermit)
on Apr 03, 2014 at 19:49 UTC ( #1080994=note: print w/ replies, xml ) Need Help??

in reply to Re^4: A great talk on Perl6
in thread A great talk on Perl6

Java programs could be compiled independently of JVM ... now I have a doubt about this possibility in Java

I don't think you can do that. Tools like Excelsior JET or exe4j are distributed with, or install, a JVM. Afaik tools that compile to native code do so via a JVM.

Could NQP or another compiler produce also binary executables (not bytecode intended for virtual machines)?

In theory, yes, but why? I see plenty of downsides and no upsides. What would you hope such an approach would achieve?

Comment on Re^5: A great talk on Perl6
Replies are listed 'Best First'.
Re^6: A great talk on Perl6
by emilbarton (Scribe) on Apr 03, 2014 at 21:12 UTC
    In Wikipedia I read : "There exist also compilers emitting optimized native machine code for a particular hardware/operating system combination." E.g. GCJ.

    > What would you hope such an approach would achieve?


    Many thanks for your answer, but as I told you, things are beyond my understanding from now on.
Re^6: A great talk on Perl6
by Anonymous Monk on Apr 03, 2014 at 20:13 UTC
    At least two reasons, Ralphie-boy. 1 to avoid rewriting all of your code when the perl-6 spec changes or Rakudo breaks backwards compatibility yet again. 2 to avoid having to depend on whatever the flavor du jour VM is THIS month.

    Maybe that's just one reason. To prevent the beer-obsessed attention deficit development process of perl-6 from breaking your production code.

    Of course that means you're right. You won't hear me say this often, Ralphie-boy, but you're right. There's no point. Why not just use a language that exists? One with developers who know how to deliver working software that doesn't break every month? Good point.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2015-11-28 21:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls