Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?

by MonkOfAnotherSect (Sexton)
on Aug 28, 2012 at 04:56 UTC ( [id://990135]=note: print w/replies, xml ) Need Help??


in reply to Perl 5 Optimizing Compiler, Part 4: LLVM Backend?

Will,

You may be interested in reading up on the experiences of Unladen Swallow, which was the project which aimed to make Python "5x faster" using an LLVM backend, but ended up being abandoned (there were some good changes/additions made as a result, mind). There have been a fair few attempts at speeding up Python significantly, and many have been promising for a subset of the language, and less promising once implementing all the dynamic features come into play.

Incidently re previous thread's comment about RPython (used for PyPy) -- it's a subset of Python, and not a separate language per se. Development was thus able to be bootstrapped on CPython. The idea of attempting to use it to implement Perl -- 5 or 6 -- in full, with its separate semantic nuances and corner cases is courageous.

  • Comment on Re: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?

Replies are listed 'Best First'.
Re^2: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?
by Will_the_Chill (Pilgrim) on Aug 28, 2012 at 05:39 UTC
    MonkOfAnotherSect,

    I am generally familiar with the Unladen Swallow saga, and what it revealed about LLVM being less-than-awesome for dynamic languages. Still, I think LLVM may be the best potential target for a Perl 5 optimizing compiler.

    I am now leaning more toward LLVM than RPython simply because it will keep everything in Perl/C instead of introducing a non-Perl/C language into the mix. Still, I think RPython is awesome and I hope to learn from their relative success.

    Thanks,
    ~ Will

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found