It's really a nice talk (and it's fun reading his rants ;).

The drawback of all these optimizations is that they need to be implemented, which tends to be non-trivial in perl (and a lot of work in any compiler). So far we don't have JIT, which you'd need for example for that trace tree optimization.

Perl tends to be hard to optimize because it has overloads and tied variables. Maybe a JIT compiler should ignore such cases, and delegate to the normal executor if either of those cases is detected.

In parrot land it's quite different: most (or all) of these optimizations could be implemented. PAST is a quite high level representation of programs, so all dynamic languages built on top of parrot+PAST could profit from optimizations in the PAST compiler.

Currently the effort is more geared towards feature completeness than optimizations, so I guess we won't see many of these in parrot 1.0, but parrot development will not stop with 1.0 ;-)


In reply to Re: Steve Yegge on how to build IDEs and improve speed of dynamic languages by moritz
in thread Steve Yegge on how to build IDEs and improve speed of dynamic languages by zby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.