Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Perl Programming

Perl And Standards: Larry Rosler Interview 74

Kaufmann writes: "In this interview with Joe Johnston (on O'Reilly's Perl.com), Larry Rosler (of HP, one of the people who helped put the 'ANSI' in 'ANSI C') shares his thoughts and advice on the value of standards, optimising Perl code, how Sun should handle Java, and programming in general. Will we ever see a Perl Language Subcommittee too?"
This discussion has been archived. No new comments can be posted.

Perl and Standards: Larry Rosler Interview

Comments Filter:
  • by pornking ( 121374 ) on Thursday June 08, 2000 @02:58PM (#1014891)

    The OO paradigm promised to save the world of software engineering from bugs, complexity, and maintenance difficulties, but if the last 5 or 6 years are to be considered as indicators for future performance, it's not worth the hype.

    Think of it in terms of economics. People will write the most complex and featureful software they can that stays within the level of buggyness they can tolerate. Therefore, buggyness will tend to stay constant.

    Software is just as buggy now as it was 5 or 6 years ago, but is far more complex. I have personal experience with what can be done with OO to facilitate large complex systems which would be unthinkable without it.

    Therefore, people have taken advantage of the ability of OO to manage complexity and pushed the envelope with it. I don't consider this a bad thing.

    In addition, while I know Perl well and like it a lot, I would not dare use it for a large complex project.

  • We had an intro to perl as part of the "programming environments" course last year at my university [unifr.ch]. The reference book was O'Reillys Perl intro book. That's were I first played around with it (I had vaguely heard about it already).

    It was great, tough a little superficial, but I now have about 5 other perl books on my bookshelf, so there you go.

  • .....you may just get it.
  • by GGardner ( 97375 ) on Thursday June 08, 2000 @03:01PM (#1014894)
    According to this [perl.com] a group of hardy hackers are hard at work on a complete, from scratch, re-implementation of perl in C++. This reimplementation is supposed to be completely compatible with perl5. How can you guarantee compatibility without a specification? My guess is, in the same way that perl5 broke some obscure perl4 scripts, perl6 will break perl5 scripts - but without a spec, it's impossible to tell which of those breakages are bugs and which are features!

  • I'm really not sure I understand what point you are trying to make here. If it is "no one thing will cure all our problems" I agree 100%, would anyone really believe that anyway? But what does that have to do with OO? I never believed that OO would solve everything, but it DOES solve a lot of problems, such as maintainability & rapid analysis/development.

    You also seem to imply that OO somehow stops us using standards - this is plainly silly. I would have to say that OO, with it's concepts of interfaces, inheritance and modularity does more to encourage standards than any other paradigm (except maybe formal programming - Z, B and their kin).

    The fact is that applications these days do MORE. And they have been developed more QUICKLY. And, in my personal experience of large-scale financial systems, they are more reliable and cost FAR less in terms of time & manpower to maintain. This has been brought about by lots of things, standards is one, OO is another. It's not an either-or situation...we can have the best of all worlds!

  • The Perl Power Contest (sponsored by ActiveState) requires the use of ActivePerl, rather than encouraging generic Perl solutions

    This is incorrect. As reported on use Perl [perl.org] :-) you can use standard perl 5.6.0 if ActivePerl is unavailable for your platform. I guess that means that if you use Linux for x86, you need to use ActivePerl; but who is gonna know if you don't, and just use perl 5.6.0? They are the same thing.

  • Larry brings up two points in his article about why an external written standard would be good for Perl.

    Personally, I don't buy the point about a standardized language being more accepted. The C and C++ standardization committees both probably started during the crest of their languages popularity. (Since C++'s prototypes got back ported to the C standard, you can tell they new they had to keep up with this competitor. And by the time C++ was standardized, all the hype had moved to Java.)

    The point I agree with more, is that so much of what the language does is undocumented or ambiguously documented, you really have no way to ensure that your program will work in any future version of perl. (and can only guess if it works in past versions by testing.)

    When a report of a change of behavior between the current version of perl and a previous version comes to the perl5porters, pretty much the first step (although the step can be implied at times.) is to decide on an adhoc basis the definition of the language. Sometimes they can use historical precedent to prove one implementation over another. Sometimes they use vague philisophical notions of what the "perlish" way to do it would be. Sometimes the arguments seem to consist of people quoting contradictory entries from lwall-quotes file.

    Of course, standardation is antithetical to the current perl development model. Its enshrined in their "Rule Number One", and "Rule Number Two". (#1 is "Larry is alway right". #2 is "Larry is right even when he changes his mind" or "Don't try to use Rule Number One against Larry".)

  • At last years perl conference, a co-worker of mine cornered Gurusamy Sarathy and him why someone with so much skill developing perl would work for a company developing Windows products. (I thought it was a very obnoxious question, but the guy is a former reporter and used to asking obnoxious questions.)

    His answer was, "sometimes when you are a missionary, you have to go out to the heathens"

  • The best way to study the way perl executes a script is to build a special "-DDEBUGGING" version of perl and run short test program with the "-D14" switch.
  • It would seem to me that comparing the two is stupid in and of itself. They were made for different purposes.
  • PS Trivia. If $a is an anonymous subroutine then $a->(@args) calls the subroutine with those arguments. This is very useful because $handler{$foo}->($bar) is far cleaner and more understandable than &{$handler{$foo}}($bar). OTOH I am amused that such a nice feature got included in Perl on a bar bet...

    A bar bet? Feed me details - this is one of my current favorite constructs, and if beer and gambling was involved, so much the better.

  • Well, I'm glad the interview was thought provoking, even if people don't agree with Larry.
    He seems like a smart cookie with Perl's best interests at heart.

    Hey, they have standards committees for a reason, I guess.

    I have to think P5P will not like this thread of conversation. :-)

  • by Anonymous Coward on Thursday June 08, 2000 @03:32PM (#1014903)
    >>Perl is superior to Visual Basic in every way imaginable.

    This is a completely stupid overgeneralization. VB is great at rapid prototyping of visual apps, and Perl sucks big at it.

  • I like the fact that a lot of people don't know perl, We don't need to make perl widely accepted...

    Case and point no one cares about perl. Just look how many people have posted to this article. 'whew' I can relax, I think I might still have a job after the year is over. Or if VP++ takes of and I lose my job to someone who can read an O'Reilly book is /. hiring?


    True, we are all gonna die...

  • Yes, we definately need to start teaching Perl in CS classes. Specially as a example of scalable, self documenting language.
    Perl is sys admins tool and that's where it should stay.
  • Obviously someone who got brainwashed at school about the wonders of OOP...

    True, we are all gonna die...

  • Yeah, but use Perl [perl.org] had this story before Slashdot did!
  • Right here [mpe.mpg.de].

    It really is a nice construct though. I am a big fan of anonymous functions. For instance you need to emit errors from a module that will be used various places for various things. Have a package variable with an error sub, by default "croak" but overrideable. That is fine for development and interactive scripts. Now if someone wants to use that in a cron, they can replace your croaks with a routine to page someone before dying...

    Cheers,
    Ben
  • by the way ( 22503 ) on Thursday June 08, 2000 @03:54PM (#1014909)
    Q: My understanding is that Microsoft is 'embracing' ActiveState's Perl. They will be shipping Perl with their "Services for UNIX 2.0". Do you see any chance for Perl to compete on a Windows Platform as a replacement for Visual Basic? In particular, as application "glue"?

    LR: Why not? Perl is superior to Visual Basic in every way imaginable.

    Maybe a push from Microsoft will help overcome the barrier of acceptability that I focused on above.

    ActiveState's support of Perl has been increasingly bothering me other the last 12 months... am I just being paranoid?

    ActiveState's work in bringing Perl to Win32, and supporting OLE effectively, has been a very important piece of work (and done very well to). But having achieved that, they now seem to moving towards the embrace, extend, extinguish paradigm that some might have noticed from a certain other company.

    For instance:
    • Packages are distributed in PPM format, which as far as I can see are quite separated from the CPAN model which has been so effective for the Perl community
    • The Perl Power Contest [yapc.org] (sponsored by ActiveState) requires the use of ActivePerl, rather than encouraging generic Perl solutions
    • With Gurusamy Sarathy (of ActiveState) looking after the Perl 5.6 release (and doing a great job, I might add), the 'official' binaries for both Win32 and Linux are now ActivePerl packages
    • They are partnering with M$oft in many projects. This just makes me uneasy, given M$'s history.
    I don't mean to put down the many good things ActiveState has done... But I do feel that the Perl community should be a little cautious about being pulled along by them. Other than the flexibility and power of the language, the things I most like about Perl are:
    • Scripts I write will run on almost any platform I come across, as long as I avoid direct system calls and avoid assumptions about file system structure
    • I know that if a problem has been tackled in Perl, it's solution will be available on CPAN. And furthermore, I know that I can use the CPAN module to install it with just one command.
    It seems to me that it would be all too easy to lose these benefits if the MS/ActiveState version of Perl forks much more from 'normal' Perl, and if ActiveState develops its own community around PPM rather than using CPAN.
  • I thought this rather strange to be honest.

    Is there really any need now to concentrate on optimising each instruction? As somebody who learnt to program using 68k, i remember doing this well, reducing mulu #40,d0 to a number of shifts and adds. ( moveq #0,d0 is quicker than clr.l d0 etc etc )

    Times have moved on however, and that "count-the-raster-lines" performance is something thats just not required nowadays, at least not in the programming domain we are talking about.

    That kind of "instruction optimisation" is really the last resort, after the much more important algorithm optimisation, which generally tends to produce far greater benefit.

    Even if you hand code your bubble sort in the best assembler ever, its still not going to be quicker for large datasets than a moderately badly written quicksort.

    Having never had to use an object in a program ever, I wonder if Mr. Rosler unnecessarily limits himself. Although relatively new to the concept, and long time assembler / C programmer, I am beginning to see that the OO approach has many benefits, not least ease of reuse.

    I agree that for pure speed, OO can lack somewhat, as the cost of object instantiation / method execution is not immediately apparent, and for that reason you can write code that works much more slowly than you think it might, but its a balance.

  • Yes, I'm quite concerned about the possibility, nay, inevitability of Perl 6 breaking Perl 5 code. A standard would be helpful. But a standard would take too long to draft to help with the 5->6 transition, unless it were begun now.

    Volunteers?

  • Funny enough, there was a big debate over a year ago on whether you should use $|++ rather than $| = 1. Turns out that most people agreed you shouldn't. It's probably on deja.com somewhere, but I'm too tired to look for it.
  • I hate to sound like I'm picking nits, but what Perl needs is a specification (you did use that word) rather than a standard. There is really only one Perl implementation at the moment, and it is portable. But your point about bugs vs. features is exactly the issue that should be addressed.
  • Don't use one hammer but educate yourself to be able to use the appropriate tools for the job at hand.

    I agree entirely. Each language and, indeed, programming methodology, was created with a particular problem space in mind. Using each for what it does best is not a bad idea. I've programmed in BASIC (remember when it was an acronym, and needed to be capitalized?), assembler, C, Java, and a host of smaller, niche languages. Each did its job well enough.

    In my previous post, I wasn't saying that I've never used OO. I was simply saying that I never encountered the problem space for which OO is the most correct solution. I'd begun to doubt the existence of that problem space, and this interview helped me to realize that I wasn't the only one. I'd thought I wasn't seeing this huge elephant that the rest of the world sees standing right in front of me. But, apparently, either I'm not the only blind one, or the elephant isn't as large as it's been made out to be.

    -Joe
  • Personally, I don't buy the point about a standardized language being more accepted. The C and C++ standardization committees both probably started during the crest of their languages popularity. (Since C++'s prototypes got back ported to the C standard, you can tell they new they had to keep up with this competitor. And by the time C++ was standardized, all the hype had moved to Java.)

    I agree that the languages may have been standardized at their peak of popularity (popularity being media coverage, general press, and book publication), but I don't think they had as wide of use until after standardization. Larry is right in that most Banks, Corporations, and Governement Agencies are bound by their bylaws and operating codes to not use a "flash in the pan" system. How the heck do you think that Fortran and Cobol and even PL1 and Ada have survived for so long? Sure, it has something to do with keeping up legacy systems, but it also has to do with the fact that there was no standardized language to turn to when those systems were still young and could be more easily replaced.

    While standardization may violate Perl Rules One and Two, it would be better for the language in the long run, especially in terms of documenting just how the thing works.

  • No, the VB GUI is great for rapid GUI prototyping. I believe that the interviewee's intent was that the Perl language is superior to the VB language.
  • Microsoft Fried Chicken... it ain't chicken anymore
  • Perl language is superior to the VB language

    This simply depends on how you define superiority. Perl is nice for some jobs, VB for some others.

    Though I have to admit that I cannot imagine any job I would prefer VB to perl.

    For GUI prototyping with perl I would give a shot with Glade [pn.org] - last time I checked it was far from perfect but it's developing pretty fast.
    _________________________

    • Yes, I'm quite concerned about the possibility, nay, inevitability of Perl 6 breaking Perl 5 code.

    Well, it seems like your group would be best placed to provide material and consultation for this standard's work.

    You have developed some kind of syntax diagrams or parsing tables or something for your work, haven't you?

    When you say you are concerned with breaking Perl 5 code, does that include modules interfaced with XS? If not, I'm very concerned that there will be a danger of fracturing the Perl community, with people dependent on Modules that only work with Perl 5 and those who move to Perl 6.


    -Jordan Henderson

  • I could see if there was GPerl, and SunPerl and IBMPerl, and HPPerl.. but there really is only one person so isn't that the standard?
    Hmm.. oh well. If it makes people stop using system calls in perl scrips I'll be happy.. I especially like the 'script' ne 'program' part. Jon++
    And why the hell are the first 5-10 posts always flamebait/trolls/offtopic?


    nerdfarm.org [nerdfarm.org]
  • Rosler is not an object oriented trailblazer, nor is he out to prevent good innovation. Instead, he supports good languages that help do useful things.

    I've worked on massive multi-platform efforts at Oracle, and have to say that C is a great language for this. It is extremely compatible across platforms.

    Perl, although supporting some object behaviour, is capable of anything Rosler has needed from it. He (and many others) don't need heirarchy to write a simple web app, nor to format / translate data.

    Already, Perl has helped solve many simple development issues where I have worked. Although there is a cutting edge of enhanced Perl, the current 5.xxx library is quite mature. For tasks that don't require threading etc... simply use the tried and true Perl.

    just my 5x10^10 rubles
  • by DA_MAN_DA_MYTH ( 182037 ) on Thursday June 08, 2000 @01:21PM (#1014922) Homepage Journal
    I like the fact that a lot of people don't know perl, We don't need to make perl widely accepted...

    COME ON PEOPLE WE NEED TO KEEP THINKING JOB SECURITY!!!

    I also think it's funny that Visual Perl is coming out... Who wants to bet it will be called VP++ because of all the M$^%t add ons, doesn't anyone remember what happened with VJ++? Jscript was the only microsoft clone of a language that actually provides cool functionality.

    True, we are all gonna die...

  • by Anonymous Coward
    just continue to write your perl in a obscure, difficult to understand format and you'll be fine. remember: $|++

    brutal news [brutal.com] = bad news from around the network

  • Perhaps it is the ultimate fate of perl to encompass all standards, making it the single most standard development language! ;)
  • by yzorderex ( 18577 ) on Thursday June 08, 2000 @01:31PM (#1014925) Homepage
    is the best thing that could happen to Microsoft. With Win32-API and Win32-GUI both working nicely the OS is much more accessible and programmable. When Microsoft starts shipping Perl as a part of their standard distribution Perl will hit desktops worldwide and its usage will probably increase by an order of magnitude, Win-Win. (Dave Grove may have a heart attack though, Hi Dave! :-))
  • Many organizations either cannot or will not endorse the use of unstandardized languages in their business-critical activities.
    Some need an ISO or ANSI seal of approval on their tools. This is probably mostly CYA but that's life.
  • by lbrlove ( 164167 ) on Thursday June 08, 2000 @01:38PM (#1014927)
    That brings up a great point. I remember seeing the announcement of Visual Studio 7 incorporating Perl as a module at ActiveState [activestate.com]. It looks like Microsoft is merely "allowing" this to be incorporated, and ActiveState is doing the work of building what amounts to a large plug-in.

    I wonder if this just entails the things that facilitate using the IDE (e.g. syntax highlighting, debugging, etc.), or proprietary code modules ala MFC (Microsoft Fried Chicken?). I further wonder if the guts of this big Visual Studio plug-in will themselves be open-source, or will they be grabbed by Microsoft. The arrangement is not terrifically clear if you just read the press release.

    Does anybody know the end game here?

    -L
  • I'm reminded of a quote I found when I started fencing:

    "It takes two lifetimes to master the blade."

    Your education as a programmer is always incomplete, that's part of the fun :-)

  • by RTMFD ( 69819 ) <ibaird@gmaiFREEBSDl.com minus bsd> on Thursday June 08, 2000 @01:47PM (#1014929) Homepage
    An excellent article by a man who obviously calls 'em as he sees 'em. The OO paradigm promised to save the world of software engineering from bugs, complexity, and maintenance difficulties, but if the last 5 or 6 years are to be considered as indicators for future performance, it's not worth the hype. Although Perl is often accused of having a "bolted-on" OO interface, the base language is stable, supported, and widely used. Standards will only help to push its acceptance with the suits.

    Personally, I'd prefer to rely upon a language that delivers on the promise of "write once, run anywhere" :) In my experience, Perl does just that.

    Flames to /dev/null and let the language holy wars begin!
  • by howard_wwtg ( 175831 ) on Thursday June 08, 2000 @04:31PM (#1014930) Homepage
    There is a Perl standard out there. Has been from the beginning.

    It is called Larry Wall.

  • Yeah, that was a very interesting remark. I'm an old C programmer also and can see where he's coming from. When you're coding right in C the useful part of object orientation shows up anyway. Its just the deep structure showing up.
    Perl makes it very easy to pop something into a module if you want to without enforcing structure like a prothesis, like you're an old man using a walker or something. :-)
  • Actually, I've seen large OO projects that worked very well. I've also seen large non-OO projects that worked very well. But over the last 5 or 6 years overall software quality has decreased, with the exception perhaps of free software (the majority of which is C or its generate cousin _GNU_C). It's hard to tell whether OO projects have been doing better or worse, because there's been so much more buggy code across the spectrum.
  • $parent =~ s/generate/degenerate/;
  • I was one of many who were miffed when Sun decided to withdraw Java from the standards process. An international Java standard would not only make it easier to create Java development software, but would make it even easier to call Microsoft on their nonstandard "features" in J++. But Sun, being the Microsoft wannabes they are, probably that by making Java a standard, they would lose some of their now almost complete control over the language. Sun's published Java specs should easily provide the beginnings for a Java standard; why else would they have changed their mind?

    Getting offtopic, I would like to congratulate BSDi on their plans to bring Java 2 to FreeBSD. After a year of pestering Sun about this, and a few months of bothering IBM, FreeBSD will finally get the Java support it deserves. After the BSDi purchase of Walnut Creek, I often said that perhaps BSDi would put more "corporate" pressure on Sun to release JDK1.2 for FreeBSD, but this is a most unlooked-for and welcome development.

    (Now if only they would lower the BSDCon prices... )

    And re: "Perl Language Subcommittee" -- I thought that Larry, Randall, and Tom were the committee. ;-)

    ---------///----------

  • Yeah, that's real elitest of you. Just forget about the benefits of good OO design, and label the people that didn't as brainwashed.
    You'll make all sorts of 0x7a69 friends doing that, eh?
  • I think it would be useful to standardize at least a subset of Perl. The syntax is a non-issue, I think; after all, Perl does have a parser. For the semantics, most of it boils down to numbers and strings (and POSIX). Regular expressions are a mess. Maybe pragmas, too.
  • I think we should keep in mind this [perl.com] part of the Perl FAQ.
  • ... or was it "patent the business plan/idea"?
  • Ilya was extremely talented person, yet the arrogant and mean SOB. It's to bad he left PERL. It's great he left PERL Whatever ... I'm using Perl a lot, yet its kitchen-sink like syntax constanly annoys me. What Perl needs at this point is stabilization and consolidation. But the fact is that Perl is here to stay, exactly because it is PRACTICAL, and has reached a critical mass in many respects.
  • I find that the "if all you have is a hammer, every problem looks like a nail" effect is particularly rampant in Java... everything looks like an object, even things that could be better expressed as something other than an object.

  • Nope. Glade does a great job of this. It's no Visual Basic GUI layout tool, but Perl does *not* suck in this respect.

    In fact, I can design a UI and do my prototyping using Perl, but because the GUI is managed by Glade as XML files, I can then move over to C, C++, ADA or guile fairly easily. I still have to re-write my code, but all the UI gunk is language independant. This means that you can hire UI people who don't even know the language you are writing your core system in!

    The next tool that we need is a program that makes tying your UI to your back-end through CORBA simple. It will have to be as simple to use as glade (perhaps even a glade plugin). Then we can have applications where the two are developed in different languages and stay that way....
  • There's a good thread on this topic over a PerlMonks [perlmonks.org]. Just do a search on "Visual Perl and ActiveState". Its not very long, but interesting to see what the day-to-day users have to say about this.
  • Add me to the old fart list. I have come to the conclusion that OO is a religion. Either you have faith or you don't, but you can't prove to someone that s/he should believe.

    There are a lot of rational arguments for OO, including reduced life-cycle costs, reduced cost of enhancement and extension, improved modularization and thereby lower integration cost. Unfortunately, I have never--despite a lot of looking--found any quantitative data to justify OO. Instead I have seen projects that take longer to generate slower, bigger code than analagous projects using a structured design and development approach. I haven't seen a payoff in life-cycle costs either.

    C++ is just hard compared to C. Java allows me to be pretty productive, particularly for UIs. In both cases it seems to be the language, not the methodology.

    Put me down for Fortran, C, Java, Perl, JavaScript, and HTML. Skip the C++ and Ada, hold the OO Perl.

  • I'm sorry, I personally don't remember it that way. Some of the first software development work I did was in C, and it was either systems that supported "the current draft of ANSI C" or weren't ANSI complient at all. And by that time, there were probably more C jobs than anything else being advertised. (Of course, it may be that "being advertised" is a big caveat. I've been told there is still a market for Smalltalk programmers, but since it is such a small club everyone knows where all the openings are.)

    Or look at it this way, according to an old copy of "Design and Evolution of C++", Borland was the largest producers of C++ compilers, and they had shipped 500,000 units by October 1991. And that would be just the year after the C standard was ratified.

    For C++ and Java though, you may be right. I just through that in to imply a trend. In actuality, I don't think Java is taking away projects from C++. Each one is suited for jobs the other is not. (At hte most, Java is being used for jobs that would have, but shouldn't have, been written in C++).

    Also, I find your mention of Ada as a "legacy language" interesting, since it is a fairly recent language. Not at all in the category of Fortran or Cobol.I think that Ada is something that has its place, mostly for someone wanting an excplicitly standardized language. (A company can't call itself Ada until it passes the conformance tests.)
  • by QBasic_Dude ( 196998 ) on Thursday June 08, 2000 @01:52PM (#1014945) Homepage
    The press release is here [activestate.com]. ActiveState joined Microsoft's Visual Studio Integration Program. Visual Studio will contain a full-featured VB/VC++-like IDE. Visual Python will also be included.

  • by Jafa ( 75430 ) <.moc.setnakram. .ta. .afaj.> on Thursday June 08, 2000 @01:55PM (#1014946) Homepage
    I thought his comment on evaporating standards was hilarious and sadly right on the mark! To quote:

    1980's paradigm: If it's worth implementing once, it's worth implementing twice.
    1990's paradigm: Ship the prototype!
    2000's paradigm: Ship the idea!

    Jason
  • The ANSI Perl standard recognizes that "there's more than 1 way to do it." Specifically, the standard outlines 123 ways to do it -- see appendix c. Additional methods are "implementation defined."
    --Shoeboy
    (former microserf)
  • The hardest adjustment was to learn to write code with as few Perl operations as possible, because of the costs of dispatching each instruction.

    Wow. You know, in all the software I've written, I've never thought at that low a level. Maybe I should?

  • Hey, what's wrong with $|++? It saves an opcode!

    :)

    :wq!

  • Good move too, IMO. Anything proprietory will be in the plug-in, ActiveState will own it and why bother to open source the code? They might open the API so people can add cool stuff but plug-ins to Visual Studio are so abundant (30 or so things in there I have no idea what they do) its evident that rocket science it ain't and I'm not sure why you'd bother.
    Documentation will be better and newless cluebies won't be posting I clicked on my program but the box closed so fast I donno what happen please help me type questions. Perl doesn't have a GUI, this will do it.
    I want a menu item to search for modules and there could be an Active Update, heheheehe check ActiveState for new versions of any modules every time I boot up. :-))
    Biggest impact may be a large upsurge in background programs on Win32 doing housekeeping, updating personal news pages, instant flame response forms if someone happens to mention Python on slashdot :-)). Stuff like that.
  • Written any assembler?
    I've regressed to my childhood and tend to look at $_ as the accumulator and hashes as infinite named registers.
    Course when you do what Larry is talking about it starts to look like line noise but runs like a champ.
  • Packages are distributed in PPM format, which as far as I can see are quite separated from the CPAN model which has been so effective for the Perl community
    AFAIK CPAN still works for non-Win32 OSs, and there are no plans to close it. PPM is necessary for Win32 because CPAN packages come uncompiled. That's a problem on Win32, where most users don't have a compiler, never mind a POSIX environment.

    Personally, I don't lose too much sleep over ActiveState. The Perl community has always been very vocal and pro-Unix. If ActiveState wants to provide and support Perl binaries, more power to them. Though they employ several Perl developers, if they were to fork, they wouldn't be able to maintain the huge beast without the support of the community, and p5p would happily leave them behind.

    Microsoft is interested in Perl for several reasons:

    • VB sucks, and they know it. It may be easy to write code, but serious programmers don't like it. (Microsoft, which employs a surprisingly large number of programmers, is acutely aware of this.) Microsoft wants to position Perl as a supplement for VB. They could integrate it with IE if/when Mozilla does the same. They won't do this until they need to, because VB is a great way of getting people to create web sites that only work with IE, but they don't want to be caught off-guard when people start scripting sites in Perl and thus requiring Mozilla.
    • There are a large number of COTS and free software CGI scripts written in Perl. Many IIS sites would benefit from them. (They already do, but more Win32:: modules wouldn't hurt.)
    • Microsoft always wants more people coding in a language that works on their OSs. Not having Perl on Win32 would really hurt them for this reason.
    If Microsoft ever really wanted to EEE Perl, they wouldn't be subtle about it. They could easily buy ActiveState. But it really isn't worth it to them: Perl has a strong community organized around a single open source interpreter, and very few people are writing cross-platform applications with a scripting language. (They were afraid of Java not only for this reason, but also because it was tied to Sun.) Perl isn't a threat to Microsoft.
  • >>s the best thing that could happen to Microsoft. With Win32-API and Win32-GUI both working nicely the OS is much more accessible and programmable. When Microsoft starts shipping Perl as a part of their standard distribution Perl will hit desktops worldwide and its usage will probably increase by an order of magnitude, Win-Win. (Dave Grove may have a heart attack though, Hi Dave! :-))
    yes..but imagine the PR when some luser writes a virus in perl to attack win32, beacuse you know Open Source is inherently insecure(*snicker*) Maybe then the linux users would have a worry (<ducks>) :-)

    /*
    *Not a Sermon, Just a Thought
    */
  • People will write the most complex and featureful software they can that stays within the level of buggyness they can tolerate.

    Unfortunately, you prove my point here. There is no "silver bullet" which will solve all of the problems and challenges of software engineering. The idea that sold people on OO was one of re-use and less complexity. The lesson that the industry should learn from this experience is that a paradig-shift is no substitute for engineering standards and quality-control. What good is a feature if it fails 1 time out of four?

    OOP, componenent architectures, and open source are snakeoil solutions to a problem that begs for standardization and structure. They have their uses but not one of the group can be called the messiah of computer science. Standards are good.

    Beware software "artists"! The honeymoon is almost over for us...
  • embrace, extend, extinguish How?
    Perl ain't Kerberos. (how many of you heard of Kerberos before that blew up, raise hands). And micro~1 isn't doing the work. AS is. That's just enough of a difference to make a difference.
    For Microsoft to screw around in the (AS) core distro they actually need a reason (any reason, some kind of rationale) to 'extend' and I don't really see one. They want a paperclip? use Win32::API; Something else? XS and make a dll. The Extend may, in fact, go in the other direction, hacking the OS to accomodate Perl and minimizing the differences. We know have a fork(). Alarm, anyone?
    Anybody with a solid idea of how to embrace, extend, extinguish please bring it out. I haven't heard much but flaming vapor.
  • Even a formal description of the syntax would be a big help. "You can leave out ... if it doesn't matter" isn't enough.
  • by pornking ( 121374 ) on Thursday June 08, 2000 @08:14PM (#1014957)


    Things were were always better in the old days, weren't they?

    • Remember how horribly everything broke when dos 4.0 came out?
    • Was Windows 95 really worse than windows3.1?
    • I think the Denver airport has been 5-6 years by now.
    • Every version of Netscape has been riddled with bugs.
    • Is Motif better than GTK?
    • X Windows is the defacto standard for unix displays. Is this really a good thing?
    • Do you actually like the design of NFS?
    • What about MacOS 6?

    What you have is a gut feeling that things used to be better because you only remember the good stuff. You remember how great Wing Commander was while forgetting that it took you 3 hours to figure out the config.sys and autoexec.bat for the boot disk.


    Now, the specific time frame being discussed is 5-6 years. Would you rather use Windows 95? As for unix, would you rather use SunOS? I remember some epic battles with xf86config under Linux. Was Netscape 1.1 really less buggy than Netscape 4.7?

  • COME ON PEOPLE WE NEED TO KEEP THINKING JOB SECURITY!!!

    There is nothing easier than writing perl code that only YOU can understand. Even if it is perfectly documented.

  • by jilles ( 20976 ) on Thursday June 08, 2000 @11:16PM (#1014959) Homepage
    "Maybe I still am missing the boat on OO, but at least I'm in good company. =)"

    Exactly, you just found another guy who missed the boat. This guy is smart enough to not completely dismiss python and java as useless but from the interview it is quite clear that you won't find him programming in either language (to put it mildly).

    For me OO is also something of the past. But at least I'm not stuck in the procedural/machine oriented paradigm of thirty years ago (when OO was the hot new thing). Personally, I find modern ideas such as aspect oriented programming, subject oriented programming or even intentional programming much more interesting.

    Perl is interesting in that sense because it is probably flexible enough to extend it to support either of those. On the other hand its syntax will probably always be a major obstacle for any serious adoption. Also performance is an issue (more than in Java) if you start doing serious development.

    Java at the moment is a much more mature language, perhaps due to the rigorous control of SUN over it. However, I think institutions like ISO mover too slow to keep up with the rapid developments. A standardized version of Java of three years ago would be close to useless to me. I suspect the same goes for perl. Like it or not, SUNs control of the Java language has prevented fragmentation and effectively caused it to be an industry standard with support for a large number of platforms.

    Finally a wise quote:
    "When you have a hammer, every problem seems a nail"

    I think this applies equally to either perl, vb, c(++), java, fill in you're favorite language. When developing device drivers stay away from visual basic. When developing e-commerce websites: don't bother using c. Also beware that languages and their accompanying libraries are under development. Two years ago Java was not good to do anything, now it is rapidly becoming the language of choice for number of domains (most notably web development).

    Don't use one hammer but educate yourself to be able to use the appropriate tools for the job at hand.
  • Assembly is totally worth learning. Eventually you'll do such things as start to shudder everytime you right `for' or `while' as you realize that everytime you loop, your superscalar processor is going to clear its pipe and drop in performance...

    The point is, you realize how bad your code really is ;) Hopefully, it will make you a better programmer, even if you very rarely use assembly.

    Oh yeah, and the line noise code, well let's just say it can win you prizes (see: Obfuscated Perl Contest, and the IOCCC). Not that I'm encouraging this or anything.

    Jeff

  • internet business paradigm: ship the business plan!

    Jason
  • His parting message. [mpe.mpg.de]

    Sad. But he and Tom C had one too many flamewars and he has left.

    Incidentally Perl has a standard. It is the documentation. The cause of said flamewars is that Tom considers the documentation a standard and Ilya constantly wanted to play around with new features, add new constructs, etc.

    Cheers,
    Ben

    PS Trivia. If $a is an anonymous subroutine then $a->(@args) calls the subroutine with those arguments. This is very useful because $handler{$foo}->($bar) is far cleaner and more understandable than &{$handler{$foo}}($bar). OTOH I am amused that such a nice feature got included in Perl on a bar bet...
  • The OO paradigm promised to save the world of software engineering from bugs, complexity, and maintenance difficulties, but if the last 5 or 6 years are to be considered as indicators for future performance, it's not worth the hype.

    Reading that interview's brief discussion of object-oriented programming made me feel really good. I thought I was completely missing the boat on that stuff. I mean, I can see how it makes for esthetically pleasing designs on some level, but try as I might, I couldn't find a reason to stop doing things the way I always have. Maybe I still am missing the boat on OO, but at least I'm in good company. =)

    -Joe

  • Agreed, if you've never worked with assembly before, your education as a programmer is incomplete.

    Of course, if you're going to be doing it for a living you'd better make sure your company has a good vision plan. You're going to be needing a new pair of glasses every couple of weeks ;)

Reality must take precedence over public relations, for Mother Nature cannot be fooled. -- R.P. Feynman

Working...