Article View: comp.unix.shell
Article #4605Re: Gawk v24.7: Why Bother???
From: Tom Christiansen
Date: Wed, 26 Apr 1995 00:00
Date: Wed, 26 Apr 1995 00:00
24 lines
2095 bytes
2095 bytes
In comp.lang.perl,
charles@pop3.demon.co.uk (Charlie Stross) writes:
:I have occasionally speculated about the usefulness of a small,
:stripped-down perl subset for use as an explicit awk replacement.
:If I was going to say _why_ I want such a toy, I'd haver a bit and
:finally come down on the side of fast string mangling. It would need
:rapid startup -- faster than the existing Perl -- but could do without
:a lot of the more complex features of Perl (system calls, file and
:process management, sockets, object orientation and any post-Perl 4
:language accretions, source level debugger). The only exceptions would
:be the inclusion of the BEGIN and END patterns.
Oh my! But perl really is very slow to start up: on my abysmally slow
and overloaded sparc classic, it takes 4.58 user seconds and 14.22
systems seconds to run an empty perl program -- ONE HUNDRED TIMES.
That's a whopping 0.0458 user seconds and 0.1422 system seconds per
run. Obviously this is too much overhead for a small program.
--tom
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
:The only reason [not to use] perl is that some sysadmins don't allow software that they didn't pay for.
By all means, let them send me money if it makes them feel better. :-)
--Larry Wall in <1993Dec13.213032.26623@netlabs.com>
Technical Details
Message-ID:
<3nmj78$gc0@csnews.cs.colorado.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3n8qt8$shf@smurf.noris.de> <D7L95H.Bp6@ul.ie> <ABC3E1B396688C61A@fma0.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,4df32fd703a6b724 X-Google-Attributes: gid1025b4,public X-Google-Thread: 10259a,c6417ab4174dabc8 X-Google-Attributes: gid10259a,public X-Google-Thread: 1012a6,4df32fd703a6b724 X-Google-Attributes: gid1012a6,public From: Tom Christiansen <tchrist@mox.perl.com> Subject: Re: Gawk v24.7: Why Bother??? Date: 1995/04/26 Message-ID: <3nmj78$gc0@csnews.cs.colorado.edu> X-Deja-AN: 101597208 references: <3n8qt8$shf@smurf.noris.de> <D7L95H.Bp6@ul.ie> <ABC3E1B396688C61A@fma0.demon.co.uk> organization: Perl Consulting and Training reply-to: tchrist@mox.perl.com (Tom Christiansen) newsgroups: comp.unix.shell,gnu.misc.discuss,comp.lang.perl originator: tchrist@mox