http://qs321.pair.com?node_id=991490


in reply to Perl 5 Optimizing Compiler, Part 5: A Vague Outline Emerges

1. What is your personal interest in a Perl 5 optimizing compiler?

This is something I could probably use at work, where I mostly optimize perl code.

I'm also the author of the perlito compiler. I'm investigating the efficient implementation/emulation of perl semantics on alternative backends. I'm also interested in the parser itself.

2. What part of the project do you feel qualified to work on?

Maybe some parsing, code generation, and optimizations.

3. What XS code have you written?

Almost none

4. What is your level of familiarity with Perl internals?

Almost none

5. Are you more interested in being sponsored to work hard on this project, or just volunteering some of your spare time?

I don't know yet, but the project looks really interesting.

6. Are you in a position to provide some initial pro bono coding effort?

Sure.

  • Comment on Re: Perl 5 Optimizing Compiler, Part 5: A Vague Outline Emerges

Replies are listed 'Best First'.
Re^2: Perl 5 Optimizing Compiler, Part 5: A Vague Outline Emerges
by chromatic (Archbishop) on Sep 03, 2012 at 18:09 UTC

    Could Perlito function something like PyPy does for Python? If Perlito can make an AST, would it be possible to use RPython as a target for that AST?

      Yes, Perlito creates an AST. I've been considering RPython as a possible backend.

      $ node perlito5.js -Cast-perl5 -e ' print "hello, World!" ' [ bless({ 'body' => [ bless({ 'arguments' => [ bless({ 'buf' => 'hello, World!', }, 'Perlito5::AST::Val::Buf'), ], 'code' => 'print', 'namespace' => '', }, 'Perlito5::AST::Apply'), ], 'name' => 'main', }, 'Perlito5::AST::CompUnit'), ]