Re: Invalid Operating System

[prev] [thread] [next] [lurker] [Date index for 2006/12/11]

From: H.Merijn Brand
Subject: Re: Invalid Operating System
Date: 16:45 on 11 Dec 2006
On Mon, 11 Dec 2006 10:17:16 -0600 (CST), peter@xxxxxxx.xxx (Peter da Silva)
wrote:

> > I seldom have to do so, so either you miss or don't know about builtin
> > features or (re)usable and portable modules, or I don't use the features you
> > miss from the shell.
> 
> Using pipes and filters from Perl is extremely cumbersome. Those are the
> best features of the shell. Things like complex and obscure parameter
> prefixes and quoting hell are the worst features of the shell, and most
> of what Perl borrowed from the shell.
> 
> > If a project/scripts gets big enough to warrant any other language than 'sh',
> > I usually experience the opposite.
> 
> fgrep is faster than grep is faster than sed is faster than awk is faster
> then perl.

How much faster? And how less flexible?
That time is regained zillionfold in development time.

Now compare perl to java, or 4GL. I once rewrote a 4GL project to perl.
Troughput of a typical run dropped from 48 hours to 24 minutes.

> If the projects/scripts get big enough to warrant any other language than "sh"
> they're generally too big for Perl either, because the things that *I* find
> frustrating about the shell are there in Perl too.

I somehow get the feeling that you do not want to learn any scripting
language beyond you favourite shell. Then again, I'm still biased.

> > > > correct. Which rules out windows for being usable at all.
> 
> > > That was before Interix.
> 
> > Which is installed on, err, 0.005% of the windows systems I get to work with.
> 
> Yes, that used to be my experience with Perl on UNIX.

I believe the 'used to be'. Get in touch with reality: it's not the case
anymore.

> The one thing positive I've heard about Vista is that they're including
> Interix.

I survey I read today said the less than half of the installed PC's is
capable of running Vista, and less than 6 percent of those would be powerful
enough to run Vista's premium functions. It would not surprise me id the Unix
functionality would fall in that category (from M$' point of view).

If that is the only good thing about Vista, I'll stick to Win2k for the only
Windoze box I have to work with.

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.1, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/
There's stuff above here

Generated at 22:02 on 27 Dec 2006 by mariachi 0.52