Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl 5 Optimizing Compiler

by eyepopslikeamosquito (Canon)
on Aug 13, 2012 at 06:25 UTC ( #987043=note: print w/ replies, xml ) Need Help??


in reply to Perl 5 Optimizing Compiler

Sorry but your proposed project comes across as a bit naive. Have you done some basic feasibility research of such a project? Note that perlcc was removed from the Perl core as at Perl 5.10. See also:

BTW, a similar project for Python, Unladen Swallow, seems to have met with overwhelming difficulties.


Comment on Re: Perl 5 Optimizing Compiler
Re^2: Perl 5 Optimizing Compiler
by rgiskard (Hermit) on Aug 13, 2012 at 07:43 UTC
    I think most people would like to see perlcc revived. If it is as impossible as you are making it out to be, then I for one welcome a YAPC talk on the failed persuit of reviving the compiler. Perhaps the goal is too ambitious for the time allotted, but I don't see why that should halt side-projects.

      I too would like to see perlcc revived and it appears that it is already being revived by Reini Urban on CPAN. What I think is way too ambitious, especially for the timeframe suggested, is the OP's stated performance goal of "making Perl run at speeds within an order of magnitude of optimized C".

        Right, well I too feel that premature optimization is the route to all evil. I personally would find it hard to compete with native C; however, I do recall Java having similar speed issues (it being non-natively compiled). Then (over the course of a decade) everyone swapped out boxes for VMs... Virtual Machines which, perhaps inspired by slowness, happened to use the speed which a Java program runs as a common benchmark. So everyone started optimizing their VMs to run Java programs quickly. We are now at that point where Java can run as fast (or faster) than a "native" application (clearly depending on your environment and how you define native). I didn't know Reini was doing something like this... am checking it out now.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2014-07-28 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls