Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Perl compiler request - flogging the dead horse!

by FloydATC (Deacon)
on Feb 07, 2014 at 21:48 UTC ( [id://1073922]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl compiler request - flogging the dead horse!
in thread Perl compiler request - flogging the dead horse!

OK, I'll bite. Please explain how a compiler can deal with this:

while (my $line = <>) { print eval $line; }
-- FloydATC

Time flies when you don't know what you're doing

Replies are listed 'Best First'.
Re^3: Perl compiler request - flogging the dead horse!
by Anonymous Monk on Feb 07, 2014 at 21:52 UTC

      OK, so basically it can compile "P" but "erl" isn't supported.

      -- FloydATC

      Time flies when you don't know what you're doing

        Also, "isn't supported" is wrong; P is the only part that can be statically compiled, erl must be dynamically interpreted. Eventually we can do JIT dynamic compilation on erl and combine with static compilation on P to get the fastest possible, then we will be faster than Java and close to C. Then I will stop flogging the "dead horse", because it will be a live Camel and Roadrunner!
        Compile P and link it back in, erl never knows the difference but your code runs way faster.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-06-16 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.