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."
... is Duke Nukem Forever is being rewritten in Perl 6.
Computer Science is all about trying to find the right wrench to bang in the right screw. -T.Cumbo?
Waiting for Perl 6 seems a lot like waiting for the Messiah to arrive. And even when (if) it happens there'll be some people saying "Nope. Not the right one... Keep looking...."
---
Perl Programming Feed Feed Distiller
from an outsider's view (I have NO perl experience, and i intend to die like that if at all possible) it seems like perl has slowly moved from an ubiquitous scripting language to a fringe research project over the last few years. it reminds me somewhat of the pascal/modula-2/oberon phenomenon. do perl afficionados think that this new version will enjoy the success that its predecessors have had?
Or hold your breath either
/. is getting so old.
Facile discussion of languages on
I do most of my coding in perl 5. Perl 5's implementation is rock-solid, and CPAN has an absolutely fantastic selection of useful modules for perl 5.
If I was going to change to something other than perl 5, I would need some motivation. The clearest motivation I can see is that OOP in perl 5 is ugly and bolted on.
With that motivation, I have dabbled in ruby enough to write one nontrivial app. The thing is, perl 5 still beats the heck out of ruby in terms of implementation and libraries. As an example of this, in my ruby app I wanted to use some regex features that were not available in ruby 1.8, so I ended up using ruby 1.9. But ruby 1.9, and its regex engine, are relatively raw and buggy, and I ended up having serious problems that I had to work around. (Yes, I submitted a bug report. No, it hasn't been fixed yet.)
AFAICT, the main advantage of perl 6 over perl 5 is the same as ruby's main advantage over perl 5: OOP is implemented in a nicer way. The thing is, the disadvantages are even more magnified, because it's so raw and incomplete.
My current reaction to the situation is to plan on continuing to code in perl 5 until, say, 2015, and then check back to see how much ruby and perl 6 have improved by then.
Find free books.
We've released a new version of Rakudo Perl 6 every month since December 2007. That's 24 months in a row.
how to invest, a novice's guide
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".
Perl for people with no background in computer science ? Are you serious ?
My experience is that people who do not like Perl are generally weak in computer science. Perl internal is more similar to lisp than to shell. For example, closures are very effective in Perl.
All the elegance of Perl need a good level of computer science to be fully understood.
The sysadmins I have met that had weak background in computer science hated Perl and were very proud of their shell hacks.
For me, the smart sysadmins solves quickly and elegantly the problem with Perl before the IT departement finished writing the specification of a steam engine.
Perl is one of those languages that most people meet in passing because someone else has hacked up a script to get something out of some file. Which is sad, because understanding what makes Perl different from other languages and why it is often a better choice for wrangling data isn't going to be obvious in one lousy foreach search-and-replace hack. And most people exposed to perl scripts in this manner fall over on the difference between scalar and list context and never discover why perl expressions like $lookup{$term}++ will save them years of work, while making their analysis scripts go faster.
I write Perl modules day in, day out to cope with processing DB2 internals in an attempt to model and improve them. Object-oriented Perl makes this easy, fast and effective. Closures (which I'm sure aren't understood by 90% of the Slashdot community) back this up being able to create anonymous subroutines with data attached which can be processed later. Perl is also effective for parallel task analysis - I have modules for jobserving many tasks across multiple machines and Perl threads make it easy to fire a task off while something else is done.
Perl is an essential part of data analysis for any serious volume of unstructured data. However, I'm not unhappy that it is little understood. Perl makes in the impossible merely hard. If everyone knew how to leverage Perl, I wouldn't have so much fun.
Cheers,
Toby Haynes
Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
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.