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

Re^2: Perl 5 Optimizing Compiler, Part 2

by raiph (Chaplain)
on Aug 22, 2012 at 22:21 UTC ( #989159=note: print w/replies, xml ) Need Help??

in reply to Re: Perl 5 Optimizing Compiler, Part 2
in thread Perl 5 Optimizing Compiler, Part 2

Since 'perl5' and 'perl6' have dropped the concept of bytecode generation

Aiui it is, or would be, a monumental (I think that's an understatement) social and technical task to bring bytecode, and bytecode discipline, to the current Perl 5 compiler.

But the story is different for Parrot. And different again for Perl 6. And different again for Perl 5 in the light of Perl 6.

Parrot is a tough call. As others have said, bytecode stability was part of the original plan. It doesn't have that now, but that doesn't mean it couldn't, and won't ever. Otoh, to say they have more pressing concerns, and lack of tuits, is an understatement. Unless you are confident you could live for a few years without oxygen if you had to, I recommend you don't hold your breath waiting.

Perl 6 also has more pressing concerns, and also has less resources than it needs, but it's a much more reasonable proposition regarding generation of bytecode and discipline to keep it forward compatible as they add or change opcodes.

There are several Perl 6 compilers that generate bytecode. In particular, Niecza is pretty advanced and currently generates CLR bytecode and Rakudo is also pretty advanced and currently compiles down to Parrot bytecode. Aiui both these compilers are likely to be portable across different bytecode backends soonish; perhaps one will even manage that this year.

And a few days ago someone spotted Larry Wall working on a Perl 5 parser written in Perl 6, something that's gotta be way easier than working on the current Perl 5 compiler...

  • Comment on Re^2: Perl 5 Optimizing Compiler, Part 2

Replies are listed 'Best First'.
Re^3: Perl 5 Optimizing Compiler, Part 2
by BrowserUk (Pope) on Aug 22, 2012 at 23:22 UTC
    And a few days ago someone spotted Larry Wall working on a Perl 5 parser written in Perl 6

    Isn't that a bit like translating Welsh into Esparanto?

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989159]
[sierpinski]: Corion I haven't -- but it sounds like you could corner the market on such a tool if you desired.
Discipulus if thezip is still around can be interested into How to hide/inhibit the console window when launching a Perl script on Windows?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-27 19:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (321 votes). Check out past polls.