Slashdot Mirror


Perl 6, Early, With Rakudo Star

Perl 6 may have been "finally coming within reach" in 2004, but now it's even closer. Reader rnddim writes "The Perl 6 implementation Rakudo Star has been released today for 'early adopters.' This release of Rakudo is different from the normal monthly compiler releases in that it is bundled with a draft of a Perl 6 book, and several modules. It's not complete, and it's not as fast as it should be, but Rakudo in its current state is proving to be usable and useful. Rakudo Star releases will come monthly or as major features or bugfixes are made. It is available for download at github.com."

14 of 220 comments (clear)

  1. Heh by Adambomb · · Score: 5, Funny

    Calling anything whatsoever that involves Perl 6 'early' is the funniest thing I've seen in weeks.

    --
    Ice Cream has no bones.
    1. Re:Heh by PerfectionLost · · Score: 5, Funny

      Can Duke Nukem Forever be far behind?

      This actually pushes out their launch date as they have to update all their Perl 5 code.

  2. Welcome Rakudo Star by chromatic · · Score: 5, Informative

    The Welcome Rakudo Star post on the new Perl.com explains some of the motivations for the Star releases and why this is such a big milestone for all of Perl.

  3. Huge! by e2d2 · · Score: 5, Funny

    This is going to be huge! Every application that comes out for the next 10 years will use this I predict.

    Just an FYI: I eat paint chips.

  4. Re:A decade too late. by chromatic · · Score: 5, Insightful

    But 2010 is far too late.

    Why? Even if some sort of statute of limitations prevents you from learning new things, the rest of the world suffers no such malady.

    (That's setting aside the fact that a Perl 6 released in 2001 would not have included amazing features such as roles, grammars, constraints, multidispatch, and autothreading hyperoperators. "Minimal benefits" indeed!)

  5. Re:Does anyone care? by chromatic · · Score: 5, Insightful

    I absolutely hate everything about perl anyway and have never understood why anyone would ever like it.

    It's flexible, powerful, and easy to extend. 84,296 modules are freely available from the CPAN (at least when I checked; the upload rate is staggering). It has an immense culture of quality and testing. It's amazingly portable. It scales from the freshest novice writing baby Perl to large-scale applications which must not fail, written by experienced professionals. It's malleable; you can program in a compiler-checked subset of the language or express yourself in the most clear or (if you don't care about maintainability) the most expressive, creative way possible.

    It has amazing libraries for network access and databases. It sets the standard for text processing. It's been an integral part of usable Unix installations for years. You can find it just about everywhere, and you can do just about anything with it.

  6. Re:Does anyone care? by chromatic · · Score: 5, Funny

    L O L

    A subtle but scathing point! I apologize and amend my comment: hundreds of millions of literate people could write useful programs.

  7. Re:A decade too late. by afabbro · · Score: 5, Insightful

    But 2010 is far too late.

    Why? Even if some sort of statute of limitations prevents you from learning new things, the rest of the world suffers no such malady.

    (That's setting aside the fact that a Perl 6 released in 2001 would not have included amazing features such as roles, grammars, constraints, multidispatch, and autothreading hyperoperators. "Minimal benefits" indeed!)

    Minimal to perl's real audience: sysadmins.

    I would wager that 80%+ of perl coders are Unix/Linux sysadmins. That's certainly where I've seen the language most widely used. By the time something is big enough to be a real development project - or it comes from a natural "a developer writes this" angle - people are usually working in python or ruby.

    Time was when perl was a web development language. Slashdot - created in 1998 - is an example. But few people start a new web project in perl. (Yes, I'm sure you're jumping in now to paste URLs....I said few people, compared to php, python, java, ruby, etc.). Desktop GUI programming in perl? Can be done but rarely is/was. Glue code? Sure...tying together things and using DBI, etc. But mostly perl is used for system things, not application things.

    I love perl. But it has never outgrown its roots as a log-processing utility. Yes, sure, you can do all kinds of amazing things with it - talk to DBs, write GUIs, handle web CGI, OOP, etc. But few people do that. HTML::Mason (perl's answer to php)? Sure, you can find some older sites where it's rooted in their ecosystem (e.g., Amazon), but not many people are firing up new HTML::Mason projects. How many books were published for HTML::Mason? One. CakePHP has at least four and Ruby on Rails has God knows how many, which gives you an idea of mindshare, and those are very new frameworks. Heck, even symfony and CodeIgniter have books. Not that I'm endorsing them, but how many new perl books have been published? Where are the great perl-based frameworks? Perl is a systems utility language. Not many new books are published on bash or awk these days, either.

    BTW, what languages can you program in for the Google App Engine? Java and Python, not Java and perl. Who did Google hire? Guido, not Larry. Next language to be added to GAE? Probably Go or maybe php. Perl is not on the radar.

    Again, I love perl. Used it since 3.x-something. Coincidentally, Damian Conway's Object Oriented Perl is sitting two feet from my monitor as I type this. But who really does large OOP projects in perl? There's a book on php design patterns, for pity's sake, but no one has publishedone on perl. There is a wiki, but to me that speak volumes (no pun intended) about where the developer mindset is.

    You can say that's unfair, or short-sighted, or just crowd fashion. Fair enough. But people vote with their eyeballs.

    So no, I don't think most people care about perl6. Most people who use perl don't do more than open a file, run some regex, and maybe make a DB connection.

    --
    Advice: on VPS providers
  8. Why all the Perl-bashing? by acid06 · · Score: 5, Insightful

    It seems like the current way to be hip in developer circles is to make fun of Perl.

    I really want to understand this phenomenon as I doubt most of these people bashing Perl have never even seen any Perl code written in the last 4 years. Hell, I could bet that a lot of people have never seen any *real* Perl code at all.

    Perl 5 is a modern language which has the features of other currently more trendy dynamic languages and more. We have modern web frameworks. We have robust database bindings and state-of-the-art ORM libraries. We have have a well-tested modern object-system with optional declarative syntax. Perl is used by several high profile sites which, at this point, everyone already knows (BBC, DuckDuckGo, Slashdot, etc).

    Perl 6 is a different language but shares a lot of the common minds behind all these awesome Perl 5 tools. However, even if you don't like Perl 5 for whatever reason keep in mind that Rakudo Star is a completely different thing (as a matter of fact, the name "Perl 6" should probably be dropped in favor of Rakudo - to avoid all this cargo-cult).

  9. Re:"Amazing" features offered by Haskell years ago by chromatic · · Score: 5, Insightful

    Perl 6's "roles" are merely interfaces....

    Nonsense.

    They're significantly less powerful than Haskell's typeclasses.

    They're significantly different from Haskell's typeclasses, Haskell being a language which tends to avoid the OO paradigm.

    "Grammars" is very similar to the pattern matching you see in languages like Haskell, SML and even Scala.

    I've never used SML or Scala. Can you modify the grammar of the language in place?

    Perl 6's "constraints" are significantly less powerful and less flexible than the pattern guards of Haskell.

    Does Haskell offer parametric pattern guards?

    "Multidispatch" has been offered by Common Lisp's CLOS system for many, many years now.

    Indeed it has, and no one familiar with languages would claim otherwise.

    ... where we'd override certain operators...

    That process sounds much more manual than Perl 6 hyperoperators.

    Just about every "benefit" of Perl 6 is something that Haskell alone has offered in a usable form for years, if not decades.

    Even if that were true, so what? (Mature poets steal.) My point was that a hypothetical Perl 6 released in 2001 wouldn't have had those features.

  10. Re:A decade too late. by chromatic · · Score: 5, Insightful

    You can say that's unfair, or short-sighted, or just crowd fashion.

    I'll do you one better: it's hearsay supported by anecdotal evidence. The existence of one Mason book versus a hundred PHP/MySQL books is evidence of... publishers. Larry's not working at Google is evidence of... he turned them down. Did you know that the top Perl books sold still outpace the top Ruby and Rails books sold?

    You're welcome to argue that your perceptions and feelings add up to evidence of something, but "Languages which hipsters with ironic facial hair hack in coffee shops in San Francisco" is a very small data point, even if you could measure it accurately.

  11. Re:Does anyone care? by chromatic · · Score: 5, Insightful

    Only Python comes close to having anything resembling Perl's level of testing. (Ruby's improved a lot thanks to Rubinius, but to my knowledge the latest stable releases don't include test suites.) PHP's testing was abysmal, last I checked.

    None of those languages have anything like the CPAN, despite saying for years "We should build something like the CPAN."

    None of those languages are as malleable as Perl 5; see MooseX::Declare for example, or even Moose.

    PHP is still easier to deploy for web programs than Perl. Python has an advantage with GAE, and I understand Ruby has something called Heroku.

    ... when it languished under Larry Wall's negligent stewardship?

    Healthy communities flourish from the healthy interactions between and cooperation of many individuals. If you thought Larry's job was to make sure that everyone is happy and doing exactly what he thinks they should do, you've never understood Larry or the Perl community.

  12. Re:Does anyone care? by chromatic · · Score: 5, Interesting

    I am wagering that the designers of perl 6 tried to keep some of the perl 5 cultural and philosophical elements of the language when writing the new language (at least it sounds like they did based on what I've read so far).

    The first time I wrote any serious code in Perl 6 (five years ago), I had to look up a few pieces of unfamiliar syntax, but the whole experience felt very comfortable. Perl 5 and Perl 6 share the same essence, the same perlishness.

  13. Re:github is a trap by osu-neko · · Score: 5, Informative

    Care to elaborate?

    One would think the meaning is obvious, but I'll spell it out: the vast, vast majority of code is developed to be used in-house. A tiny, miniscule fraction of code "is written with the intent of releasing an application to the general population."

    --
    "Convictions are more dangerous enemies of truth than lies."