Performance is not always the reason to choose a language. Esp in one-liners or scripts that take a small dataset, ease of use is way more important than the speed difference. If typing the one-liner takes longer than its runtime, you should not care.

Perl6 offers a whole new toolkit, e.g. Text::CSV implements a whole legion of in/out combinations for the csv function.

my Channel $ch = csv(in => "file.csv", out => Channel);

And that makes it very easy to combine all kind of data generators and consumers, including support for types String, Array, Hash, Capture, Callable, Routine, Block, Supply, Channel. Sometimes it even makes sense to support both Channel:U (creates a new Channel on demand) and Channel:D (uses an existing Channel).

my $aoh = csv(in => { $sth.fetch }, out => Hash);

Readable and understandable. Explicit and intuitive. Something almost impossible in perl5 (or C, lua, go, java, php, and other languages).

I 100% agree that speed is an essential property of a language, but unless the speed is needed (required), I think that perl6 is not only FUN to learn, but also gives you insight in new(er) possibilities and even new ides for existing perl5 modules. Perl6 makes it very easy to do things in parallel, where threading in perl5 makes users complain over and over and over again.

Don't (yet) write off a language purely based on speed.


Enjoy, Have FUN! H.Merijn

In reply to Re^5: Perl 6.0.0 is out - merry X-mas! by Tux
in thread Perl 6.0.0 is out - merry X-mas! by Happy-the-monk

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.