Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by FloydATC (Chaplain)
on Feb 07, 2014 at 21:48 UTC ( #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


Comment on Re^2: Perl compiler request - flogging the dead horse!
Download Code
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

        Compile P and link it back in, erl never knows the difference but your code runs way faster.
        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!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2015-07-02 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (37 votes), past polls