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


in reply to Re: The speed of blessed hashrefs, the power of Moose - how to get both?
in thread The speed of blessed hashrefs, the power of Moose - how to get both?

"One of these days you lot are going to learn that sometimes the simplest answer is infact the best, that all these high-faluting technical wizardry incantations do nothing but slow Perl down by trying to make it be something that it was never intended to be, nor will it ever be."

Please re-read my post. I'm just looking to discuss performance - maybe there's something I've missed, or some kind of modifier or something like that. Can Moose be fast, *and* powerful at the same time?

  • Comment on Re^2: The speed of blessed hashrefs, the power of Moose - how to get both?

Replies are listed 'Best First'.
Re^3: The speed of blessed hashrefs, the power of Moose - how to get both?
by Anonymous Monk on Nov 20, 2011 at 02:47 UTC

    The short answer is "no".

    You've stumbled upon one of the reasons why Larry abandoned Perl 5 development over a decade ago.

    Moose, Mo, et al are very nice, but they are fundamentally kludgey bolt-on's intended to make the kludgey bolt-on that is P.OOP, look a bit nicer.

    Perl was never intended to be used like that, and it's only the sheer power of modern hardware that allows us to get away with it while we wait for Larry and co to finally ship Perl 6 which has been designed from the ground up to support such things.

    As far as I know after 11 years of work by most of the top minds in Perl, we are yet to see a version of it that is capable of compiling all of it's own syntax or running at a speed greater than a 1 legged, cross eyed saint Bernard.

    And of course whilst they are all busy doing that, and the next tier down of top minds are busy trying to make Perl 5 pretend it's Perl 6, the rest of the Perl world are left to struggle on by themselves and make the best they can of the situation.

    Such a shame as well, you see all the employers asking for all the latest buzzwords, and I bet you not one in 10 of them really understand why they want those buzzwords, just that they are the latest buzzwords and therefore they are probably good. They are shooting themselves in the foot in terms of performance and scalability without even realising it.