http://www.perlmonks.org?node_id=994241


in reply to Re^4: Perl 5 Optimizing Compiler, Part 7: Video Chat w/ Ingy & Reini, Today 9/18 8pm Central Time
in thread Perl 5 Optimizing Compiler, Part 7: Video Chat w/ Ingy & Reini, Today 9/18 8pm Central Time

Sounds like a false dilemma to me!

You hear what you want to hear.

There is nothing false about:

I'd like a faster Perl 5, but given my experience ... naysay, naysay... If you want to get more than 5% here or 10% there, naysay, naysay ...

Is just more of the same.

Have you ever profiled to see where Perl spends most of its time? I have. In order: stack manipulation; memory allocation; testing for the presence of magic; doing actual work.

Have you ever measured how many clock cycles it takes Perl5 to allocate 2 new scalars, push them onto its stack(s) and transfer control to code that pulls them off manipulates them, produces an answer, allocated space for it, pushes it onto the stacks and return control to the "caller"?

Have you ever contrasted that with doing the identical steps using the C-stack. Still dynamically; full SV-style manipulations; no compile-time optimisations. Just switching the C stack for Perl's 4 heap stacks?

I have. And there is a crap load of room for a performance hike. Conservatively 200% looks doable without changing Perl's syntax or semantics. Maybe much more.

But there is no point in trying to discuss it; because the naysayers have already decided the outcome of all possible investigations and strategies. Or so they seem intent on us believing.

My question -- my false dilemma as you prejudge it so off-handly -- is why? Why do they want us to believe it? What harm is it to them, if someone else chooses to try?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

  • Comment on Re^5: Perl 5 Optimizing Compiler, Part 7: Video Chat w/ Ingy & Reini, Today 9/18 8pm Central Time

Replies are listed 'Best First'.
Re^6: Perl 5 Optimizing Compiler, Part 7: Video Chat w/ Ingy & Reini, Today 9/18 8pm Central Time
by chromatic (Archbishop) on Sep 18, 2012 at 18:05 UTC
    It's a waste of time; it can't be done; you shouldn't even try; it's anti-Perl; anti-Larry; anti-FOSS; anti-us -- and tantamount to genocide to even try.

    You forgot the Trilateral Commission, Project Majestic, Holocaust denial, and the Bavarian Illuminati. Bonus points for an Erich von Daniken reference connected to the Zapruder film by way of birthers and 9/11 was an inside job Ron Paul supporters, because clearly the only two possible choices are "do it the BuK way!" or "let Perl 5 die a slow, stagnant death".

    Have you ever profiled to see where Perl spends most of its time?

    Yes.

    Have you ever implemented a dynamic language like Perl?

    But there is no point in trying to discuss it; because the naysayers have already decided the outcome of all possible investigations and strategies.

    You ask an expert for an opinion, you get an expert's opinion. If you want to build a project on the opinion of uneducated amateurs, I suppose there's a chance you'll succeed.

    Conservatively 200% looks doable without changing Perl's syntax or semantics.

    I will believe that when I see it.

      You ask an expert for an opinion,

      Nobody asked anyone's opinion in this thread. That didn't stop many self-proclaimed experts popping up to regurgitate their mostly second-hand expertise.

      If you want to build a project on the opinion of uneducated amateurs,

      Who are you calling uneducated? Who are you calling an amateur?

      I suppose there's a chance you'll succeed.

      Hedging your bets already.

      Have you ever implemented a dynamic language like Perl?

      Yes. I wrote my first basic interpreter in in 1972/73 -- were you born then? Or still in your diapers?. The first version ran like a dog; the second was a vast improvement.

      And circa. 1987, a friend and I wrote a Small C interpreter. And used it to build an extended DOS shell -- also an interpreter.

      I will believe that when I see it.

      But if we followed your proscriptions, nobody would try and you would never see it.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      RIP Neil Armstrong