develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Directions of perl 5 development - requests from companies

Thread Previous | Thread Next
From:
George Greer
Date:
July 3, 2010 17:51
Subject:
Re: Directions of perl 5 development - requests from companies
Message ID:
alpine.LFD.2.00.1007031949090.31175@ein.m-l.org
On Sat, 3 Jul 2010, Greg Lindahl wrote:

> On Fri, Jul 02, 2010 at 06:42:04PM -0400, George Greer wrote:
>
>> I, for one, would love to see LLVM-compiled Perl programs or
>> sorta-self-hosted Perl.  PyPy makes me sad.  perl is not always fast
>> enough.
>
> I would be for that, although I'm more enthused by modest incremental
> changes to make Perl faster, which is also something that you see the
> Python community engaging in. It's obvious that Perl has had a lot of
> good perf work done over the years, but I frown a little every time I
> have slow code that I fix by doing elementary things like hosting
> statements out of loops (does Perl do any optimization after
> generating bytecodes?), or using substr instead of split.

One advantage of the self-hosting Perl nowadays is the number of C vs. 
Perl programmers, so they could contribute easier.  It is, however, not at 
all easy to get to that point.

perl does do some optimizations, constant expression folding that I know 
of, but not nearly the level of something like GCC.  Then again, it also 
doesn't need that level for most of it.

And then I start wishing I had Devel::NYTProf for C...

-- 
George Greer

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About