Slashdot Mirror


The Perl 6 Advent Calendar

An anonymous reader writes "Larry Wall wasn't joking when he said that Perl 6 would be ready by Christmas. Perhaps not this Christmas, but that hasn't stopped a group of people (including head Rakudo developers Patrick Michaud and Jonathan Worthington) from putting together an Advent Calendar, featuring one cool Perl 6 feature every day until Christmas. Topics currently covered include how to get and build Rakudo (the most actively developed and progressed implementation of Perl 6) and the new Metaoperators. For those wondering when Perl 6 will be finished: Rakudo will be having its official 'production release' (dubbed Rakudo Star) April 2010."

11 of 160 comments (clear)

  1. Re:This has taken too long by FooAtWFU · · Score: 4, Informative
    Perl 5.10.0 was out this year, and introduced snazzy new features like the defined-or operator and easier state variables. It's not like they've been neglecting the rest of the language, and it's not like it's going to be difficult to activate backwards compatibility.

    I'd worry more about the continuing relevance of Perl in a niche which has come to be dominated more and more by PHP (eww!) and Ruby in recent years. It's not going away, certainly, but its relevance to the future of computing may be somewhat limited despite its technical merit.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  2. Re:This has taken too long by RDW · · Score: 5, Informative

    Perl 6 is a new language, not just an upgrade. Perl 5 has not been neglected, and continues to receive updates and new features (some of them originally developed for Perl 6). The plan is to continue Perl 5 support and development indefinitely, irrespective of the status of Perl 6. And of course Perl 5 has its own advent calendar, which this year focuses on interesting stuff you can do with various CPAN modules:

    http://www.perladvent.org/2009/

  3. Re:Coming of the (perl) Messiah by RDW · · Score: 3, Informative

    'The other question is that there are no implementations of the standard yet...'

    The Rakudo guys have now committed themselves to a useful/usable release (if not a complete implementation of everything in the standard) in Spring 2010 (the target is April):

    http://use.perl.org/~pmichaud/journal/39411

    They intend this to be a release which 'application writers will feel comfortable enough to start using in their projects'.

    This probably helped:

    http://news.perlfoundation.org/2008/05/tpf_receives_large_donation_in.html

    Here's where they are now:

    http://rakudo.org/status

    http://github.com/rakudo/rakudo/blob/master/docs/ROADMAP

  4. Re:This has taken too long by chromatic · · Score: 2, Informative

    Shipping is a feature.

    I'm going to release the 24th stable monthly version of Rakudo Perl 6 in a couple of weeks. How many more releases do we have to release to meet that mythical bar of "shipping"?

  5. Re:I first heard Perl 6 when I was in high school by chromatic · · Score: 3, Informative

    Perl 6 still hasn't been released.

    We've released a new version of Rakudo Perl 6 every month since December 2007. That's 24 months in a row.

  6. Re:This has taken too long by chromatic · · Score: 2, Informative

    [Does] anyone besides debian-experimental bother?

    Fedora 12 includes Rakudo Perl 6.

    For comparison, Fedora 13 will likely include Python 3.

  7. Re:This has taken too long by wayland · · Score: 2, Informative

    Perl 6 is a specification, not an implementation.  Rakudo is one implementation, but there are others (SMOP springs to mind).  I guess I think that Perl 6 is "the stuff you liked about Perl 5, but more of it".  Oh, and better OO and Grammars.  Mmm, grammars :). 

  8. Perl Advent calendars... by MSittig · · Score: 2, Informative

    A Perl Monks poster has collected the address of 5 different Perl(-related) advent calendars:

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

    As he says, a "great tradition".

  9. Re:This has taken too long by Draykwing · · Score: 2, Informative

    In addition to what wayland++ said, there's also the fact that the Perl 6 implementation on Parrot, called Rakudo, is intended to be able to mix programming languages with great ease. For example, one syntax that's been bandied about is this:
    use v6;
    # Perl 6 goes here
    {
    use P5;
    # Hey, now I'm writing Perl 5 code!
    }
    # I'm writing Perl 6 again!

    The amazing thing is that the object models will be able to interact, which means that CPAN modules will be trivially usable. That's a different kind of interop from what I showed above, and it's working (to a degree) now. Of course, the languages it works between are Cardinal (Ruby on Parrot), PIR (Parrot's native language), and Rakudo (Perl 6 on Parrot). The syntax is currently like this:
    use opengl:from<PIR>;

  10. Re:This has taken too long by ajs · · Score: 2, Informative

    "Perl is more than just the vagaries of syntax. Perl is philosophy; Perl is custom; Perl is architectual edifice; Perl is community."

    And Perl6 is a jump over the shark.

    That's meaningless. You could say that about any new technology (I'm sure someone said it about the DVD).

    I've seen snippets of Perl6 and it does indeed look rather different from previous versions of Perl.

    In some ways yes, and in some ways, no. Perl 4 looked like this:

    require "foo.pl";
    local($foo);
    $foo = 10;

    Perl 5 looked like this:

    package Foo;
    my $foo = 10;

    Perl 6 looks like this:

    module Foo;
    my $foo = 10;

    You tell me which was a larger leap.

    Perl 6 is, conceptually, a massive shift and arguably a language of its own. But in terms of raw syntax and ease-of-learning for current Perl 5 users, it's not as large a change as one might have thought.

  11. Non-Obligatory plug by sonamchauhan · · Score: 2, Informative

    To test out Perl 6 in an IDE environment, try Padre.
    http://padre.perlide.org/download.html

    NOTE 1: Install the 'Padre Standalone Plus Six' package, not the 'Padre Standalone' package)

    NOTE 2: If you install it on windows, ensure you have a few hundred MB to spare on c:\ -- the drive targeting for the Install MSI does not work properly yet.