Article View: comp.lang.misc
Article #4362Re: Relative Speed of Perl vs. Tcl vs. C
From: Glen C. Perkins
Date: Thu, 15 Feb 1996 20:23
Date: Thu, 15 Feb 1996 20:23
52 lines
2825 bytes
2825 bytes
oz@nexus.yorku.ca (ozan s. yigit) writes: >Felix Sebastian Gallo [amongst other things] > ... Heck, even Java might be useful to someone. ... >it already is, to more people than you are willing to admit. >also expect a ground-level java for more perl-like tasks later this year. From whom? This would be great news if true. Perl is fantastic at the level of whipping together a quick ten-line utility. It's so useful, I can't imagine how I ever got anything done before Perl. I'll never give it up. Since a 'method' is usually just a little utility within a larger OO architecture, I often find myself wishing I could implement a Java method in Perl. I could do the whole program in Perl, but I find Perl to be just too flexible to serve as the skeleton of a large program. I use Perl to perform utility operations, but the larger the project, the less comfortable I am with Perl. If I were a master of either Java or Perl, I could do any job entirely in the one language and never experience any difficulty. Intermediate users, though, notice that a particular tool makes some things easier than it makes others. The whole idea of a really well-designed tool is to enable an intermediate user to perform like a master in those tasks for which that tool has been optimized without requiring that the user actually *be* a master. I think Java is much better for a bigger program which really ought to be designed carefully and will need to be maintained. Perl is better for one-shot tasks (doing in 5 minutes what used to take an afternoon with C), utilities (mostly for my own use), and tools that can be quickly modified (usu. by changing a reg expr) to do something slick with a file of data. For this reason, I'd like to do my utility tasks in Perl, my large projects (mostly) in Java, and within Java, I wish I could use Perl or some Perl-like features to implement *some* of my methods, esp. parsers and formatters. Java is just extremely weak at string handling (parsing data streams) compared with Perl. __Glen Perkins__ -- +---------------------------------------------------------------------------+
Technical Details
Message-ID:
<gperkinsDMu3BL.Kvy@netcom.com>Path:
arc1-ca.pugleaf.net!netcom.com!gperkinsReferences:
<4e3a2u$eoa@wcap.centerline.com> <JTV2J.96Feb11120004@brunelleschi.cs.virginia.edu> <4fncgf$96e@solutions.solon.com> <JTV2J.96Feb12142743@mamba.cs.virginia.edu> <4fqfvr$3f0@matrix.eden.com> <OZ.96Feb15103918@nexus.yorku.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java Path: arc1-ca.pugleaf.net!netcom.com!gperkins From: gperkins@netcom.com (Glen C. Perkins) Subject: Re: Relative Speed of Perl vs. Tcl vs. C Message-ID: <gperkinsDMu3BL.Kvy@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <4e3a2u$eoa@wcap.centerline.com> <JTV2J.96Feb11120004@brunelleschi.cs.virginia.edu> <4fncgf$96e@solutions.solon.com> <JTV2J.96Feb12142743@mamba.cs.virginia.edu> <4fqfvr$3f0@matrix.eden.com> <OZ.96Feb15103918@nexus.yorku.ca> Date: Thu, 15 Feb 1996 20:23:45 GMT Sender: gperkins@netcom7.netcom.com