Slashdot Mirror


Larry Wall Talks Perl, Culture, and Community

LostDiver writes "Computerworld Australia caught up recently with Larry Wall of Patch and Perl fame. He talks about the development of Perl as 'scratching an itch,' a release date for Perl 6 (Christmas day, year unknown) and beauty versus practicality. Computerworld also has some more information on the upcoming Perl 6. A while back they interviewed Bjarne Stroustrup of C++ fame as well." jamie pointed out a interesting, related video of a presentation by Clay Shirky from last year's Supernova conference in which he discusses why the Perl community (or any web community) drives progress and innovation.

19 of 123 comments (clear)

  1. Re:Dropping regex as a core lang feature by psy0rz · · Score: 5, Informative
    they wont be dropping regex completely. from tfa:

    Perl 6 promises to put the "regular" back into regular expression. "We have more powerful primitives in Perl 6," Wall said. "There's no more /x switch to enable extended syntax. No more mode switches like /s and "dot" (.) now means match any character. There's no /m modifier and we've regularised the brackets so {} always mean embedded code."

  2. Re:Dropping regex as a core lang feature by Anonymous Coward · · Score: 4, Informative

    They didn't drop regexes at all. They've actually generalized them into context-free grammars, and these CFGs are a core part of the language.

    If anything, the problem with perl6 is they added way too much.

  3. Re:Dropping regex as a core lang feature by mrvan · · Score: 4, Interesting

    Hmm that's interesting.

    I know quite a lot of scientists who use Finite State Automata for tasks and use custom libraries for that. If Perl 6 can provide an easier and efficient way of doing that it might even have a future :-)

  4. Holy typos, Batman! by Haeleth · · Score: 3, Insightful

    "Signals" for "sigils", describing ClearCase as a "rear-vision control system"... was this article dictated over a noisy phone line to someone who knows nothing about computers?

  5. Good reasons for the delay by burris · · Score: 4, Funny

    Some important changes had to be made to support the developers of Duke Nukem Forever, who are rewriting the project from scratch in Perl 6. The good news is that means Perl 6 is right around the corner!

  6. Re:Christmas? by jheiss · · Score: 4, Interesting

    It appears within the system administration community that Ruby is well on its way to replacing Perl as the de facto language for major tools. Well over half of the new tools introduced at the LISA (Large Installation System Administration) conference this year were written in Ruby. I've been developing in Perl for about 15 years, but have recently switched nearly all of my development to Ruby. I know I'm tired of hearing about how great Perl 6 will be. I've been hearing that promise for half a decade now. The biggest drawback to Ruby right now is that the availability of 3rd party libraries is nowhere near the level of what's in CPAN.

    Apple is also putting a significant amount of effort into improving and integrating Ruby with Mac OS X. MacRuby and HotCocoa both look really interesting, particularly if you want to develop GUI apps.

  7. Re:Why should I use Perl instead of Python? by Haeleth · · Score: 4, Insightful

    "Perl or Python?" is like "awk or sed?". They solve different problems. They're suited to different tasks. For the parts where they overlap, though, there are various arguments either way. There's a reason why there are flamewars about this stuff. You get flamewars when the arguments on both sides are evenly matched, and the choice therefore becomes a religious issue.

    Perl has some advantages. It has anonymous functions that aren't crippled. It has predictable lexical scoping. It has (optional) variable declarations. It has more libraries, and a very convenient standard way of installing them. It's available on any Unix system, whereas Python programmers are frequently reduced to begging sysadmins to install their favourite language. (And sysadmins frequently prefer Perl...)

    Perl also has disadvantages: cryptic syntax, too much magic DWIM stuff, no standard way of doing OOP, etc. Note that these are all areas where Python is strong; if you care about consistency, Python is going to be a better choice for you personally.

    Neither is a clear winner on performance; Perl is faster for some things, Python for others.

  8. Who needs Perl 6 when we have Perl 5? by poet · · Score: 3, Insightful

    A talk on why Perl 5 is Alive was given at PostgreSQL Conference West 08. What I found most interesting is how vibrant the current perl 5 community is. There are even non profits popping up to support it and forgo worrying about 6...

    --
    Get your PostgreSQL here: http://www.commandprompt.com/
    1. Re:Who needs Perl 6 when we have Perl 5? by diegocgteleline.es · · Score: 3, Informative

      Take a look at the November 2008 TIOBE index top ten:

                  Position Position Programming Ratings Delta Nov
                  Nov 2008 Nov 2007 Language Nov 2008 2007
                  1 1 Java 20.299% -0.24%
                  2 2 C 15.276% +1.31%
                  3 4 C++ 10.357% +1.61%
                  4 3 (Visual) Basic 9.270% -0.96%
                  5 5 PHP 8.940% +0.25%
                  6 7 Python 5.140% +0.91%
                  7 8 C# 4.026% +0.11%
                  8 11 Delphi 4.006% +1.55%
                  9 6 Perl 3.876% -0.86%
                  10 10 JavaScript 2.925% 0.00%

      You can read the rest of the article here...

  9. Re:Why should I use Perl instead of Python? by berend+botje · · Score: 4, Insightful

    CPAN. 'nuff said.

  10. Re:Why should I use Perl instead of Python? by Daniel+Dvorkin · · Score: 3, Insightful

    No, "Perl or Python?" is more like "C++ or Java?" In other words, they are indeed different languages with different strengths, but the area of overlap is pretty damned large -- you can write programs that do the exact same thing in either language and it really won't make any difference to the end result. Since I switched over from Perl to Python ~6 years ago, I've never found a task for which I would have used Perl that I couldn't do in Python. I'm not saying that there aren't any such tasks, you understand, but I honestly don't think there are many of them.

    --
    The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
  11. Re:Why should I use Perl instead of Python? by ThePhilips · · Score: 5, Insightful

    Besides CPAN, Perl was one of the first languages to integrate advanced data structures - lists and hashes - directly into language itself. And not some half-assed implementation - e.g. C++'s STL or Lisp' lists - but really really good implementation, supported by many standard functions and (most importantly) internal optimizer.

    Last, but not least, Perl is quite well performing. Compromise fitting most tasks: scripts are loaded relatively fast (e.g. compared to Python), yet if you use structures intelligently, it will run very fast.

    All that together, with Perl's pragmatical approach, you have a tool which easily scales from irreplaceable "perl -pe" one-liners to relatively huge projects. And in many cases, huge projects start as one liner scripts. That's where I'm addicted to Perl: if you know what you do, you can write short but powerful scripts in few seconds. And if you need, you can easily improve the one liner into some good tool, usable by other too.

    As noted by many Perl fans (like I am) you do not write in Perl - you think in Perl. It is language without any artificial barriers between you and resources you need to accomplish your task. That's why it is so hard to get off the Perl.

    P.S. Can't compare to Ruby, since I haven't used it. Few examples I have seen before hadn't stroke me as anything radically new or more useful/practical than Perl.

    --
    All hope abandon ye who enter here.
  12. Re:Christmas? by r7 · · Score: 3, Interesting

    It appears within the system administration community that Ruby is well on its way to replacing Perl

    Interesting observation but not what I'm seeing here in Silicon Valley. Perl is far less popular than in years past, but Ruby is not that popular among systems admins either. Instead Python is all the rage. I believe this is because Ruby is better suited to those who spend a majority of their time writing code whereas Python can be learned and used more easily without such frequent use. So sysadmins here, who don't spend the majority of their time writing code, are using mainly Python (and shell).

    Not a statistic, just an observation across a dozen or so large and small Linux and Unix using organizations.

  13. Re:perl is irrelevant by chromatic · · Score: 5, Informative

    Why?

    It's also two keystrokes shorter. What's wrong about borrowing good ideas from other languages? (I'd tell you what's wrong about borrowing bad ideas from other languages, but you didn't ask.)

    You're also years out of date on the string concatenation operator. I leave it as an exercise for readers to form their own conclusions about the accuracy of the rest of your post.

  14. Perl by scsizor · · Score: 3, Insightful

    When they take perl out of slackware ill stop using it. Until then its real handy.

  15. Re:Christmas? by BenLeeImp · · Score: 5, Informative

    You are hugely mistaken. http://dev.perl.org/perl6/faq.html

  16. Re:Christmas? by chromatic · · Score: 5, Informative

    I'm not sure how much of that applies to modules, though.

    All of it.

    Can Perl 6 code use a Perl 5 module?

    If you use a Perl 6 implementation which supports Perl 5, yes.

    Does the Perl 6 converter work on modules?

    Yes, if they're pure-Perl.

    Given that the object system is getting an overhaul in Perl 6, does that break OO-based modules?

    No.

    Is Perl 6 source-code compatible with the native code stubs that many modules, for example database drivers and GUI libraries, require?

    That depends on the Perl 6 implementation. The answer is probably no, but there's no reason someone couldn't write a converter for the basic XS uses.

  17. Re:Christmas? by chromatic · · Score: 3, Informative

    If I've understood it correctly, Perl 6 will be able to call library functions directly, without a lot of fuss.

    Rakudo (Perl 6 on Parrot) can do this now.

  18. Re:Christmas? by cxreg · · Score: 4, Informative

    Interesting omission:

    $ grep "/python" /usr/bin/* | wc -l
    168

    $ grep "/ruby" /usr/bin/* | wc -l
    23

    $ grep "/perl" /usr/bin/* | wc -l
    570