Settings

Theme

Perl 6 -- Too Bloated to Survive? (Core Devs Discuss)

lwn.net

8 points by supporting 16 years ago · 17 comments

Reader

dasil003 16 years ago

I've never been a real Perl hacker, more of an admirer from afar. I mention that because I'm pretty close to the ideal "objective observer" that chromatic mentions.

dskoll certainly has valid concerns, but he turns into a real asshole as the thread continues:

I believe the improvements in speed and memory required to make Perl 6 competitive with Perl 5 are unprecedented in the history of computer science.

This is a ridiculous statement, of course things have been optimized by 95% before. Given the specific explanations given by the devs about the wholly unoptimized state of the project along with planned optimizations, it seems well within the realm of possibility.

I'm not sure what the chip on this guys shoulder is, but it sounds like he just wants perl5. He gives no consideration for the innovation and creativity behind perl6. If he doesn't give a shit about all the advanced features then stick with perl5 for god's sake, it's well proven and it's not going anywhere. But to argue ad nauseam about the impossibility of an "adequate" optimization from a totally ignorant position is pretty offensive.

  • Dunbar 16 years ago

    The one thing I've learned in the years I've worked with Perl is to never underestimate the ability of the Perl community to achieve the incredible.

    To compare the performance of the mature, optimized Perl 5 core to the freshly baked, feature rich Perl 6 is shortsighted in the extreme.

    The Perl 5 runtime is hard to extend, meaning that using the modern additions to the language (notably Moose), comes with a significant start up penalty. This can not be easily overcome.

    Perl 6 has a Grammar, Perl 5 only has an implementation (only perl5 can parse Perl5). There is a lot of opportunity for making Perl 6 nice and fast, certainly fast enough for the larger complex applications it is designed to support.

    Perl 6 is not trying to compete with Perl 5 on one line throw away scripts. Not yet anyway.

  • draegtun 16 years ago

    Yes I don't know if the OP is being deliberately unaware just to cause a fuss but he/she doesn't seem to understand the difference between Parrot (VM), Rakudo (Perl6 implementation on Parrot) & Perl6 (the spec).

jameskilton 16 years ago

This is also thoroughly debunked in another article posted here an hour ago or so:

http://www.modernperlbooks.com/mt/2010/07/an-accurate-compar...

Comes across to me like chicken-little syndrome.

adamtj 16 years ago

Rather, premature optimization is the root of nearly all evil. Without it, you apparently get trolled.

stcredzero 16 years ago

The time is ripe for the next "big" language + framework to come on the scene. I predict it will be a compiled language with rapid compilation and advanced debugging/runtime monkeypatching, such that most of the advantages of dynamic languages will be subsumed. It will also support some advanced way to handle concurrency.

  • gaius 16 years ago

    Add inferred typing and you've got F# :-)

  • mahmud 16 years ago

    Why do you think "compiled" is the opposite of "dynamic"?

  • jpr 16 years ago

    Sounds pretty much like Go, which I personally don't find all that fascinating, in the same sense that I don't find C fascinating.

    I really wish that in the near-ish future some group of people, be it a company, research group or just a bunch of hackers would create something that would cross-breed the best ideas of say Lisp, Haskell and Python in a coherent way to create something really fascinating.

spooneybarger 16 years ago

the comments are the most interesting part of this. original poster makes lots of assumptions, many of which are challenged by people who know the raduko code.

  • draegtun 16 years ago

    Yes the OP comments throughout contain a lot of historical inaccuracies about Parrot & Rakudo.

    The ParrotVM team did publish a precise roadmap a few years back and I believe the optimization wasn't due to circa version 3 or 4? (ParrotVM is currently at 2.6).

    NB. Unfortunately I can't find the original roadmap I'm referring to at moment because it may not have made the Rakudo move from svn to git?

alanstorm 16 years ago

This reminds me of a lot of the "discussion" surrounding the Mozilla project back in the pre 1.0 days.

Non Project Member makes a decent point about performance, but does so in an incredibly presumptuous, entitled, non-helpful way.

Project Members make a lot noise and had waves about pre-production, non-optimized versions, etc., but never come out and say "Yes, version n+1 of our project will most likely use more ram and run slower on the same hardware as version N of our project"

  • dasil003 16 years ago

    chromatic says a factor of 2.0 is a worthwhile target (http://lwn.net/Articles/398051/). I think that's the best you'll get since good developers—especially perl6 developers—generally are copiously optimistic.

    • chromatic 16 years ago

      We haven't reached the point of dramatic optimizations yet. We're making some architectural changes in Parrot (the Lorito project) to allow for tracing JIT, bytecode optimizations, and slimmer deployment of dependency-traced applications.

pinksoda 16 years ago

Bloated? No.

Needs some optimizations? Sure.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection