From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-01 18:59:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn4feed!wn3feed!worldnet.att.net!198.6.0.7!uunet!ash.uu.net!spool0901.news.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail Message-ID: <3C323135.6834BE8F@trailing-edge.com> Date: Tue, 01 Jan 2002 21:59:17 -0400 From: Tim Shoppa Organization: Trailing Edge Technology X-Mailer: Mozilla 3.03Gold (X11; I; OpenVMS V7.2 AlphaServer 1200 5/533 4MB) MIME-Version: 1.0 Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C310556.DFD5D97B@fsi.net> <3C3224FA.D88BF6E4@fsi.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.73.218.130 X-Trace: 1009940368 reader1.ash.ops.us.uu.net 20395 63.73.218.130 Xref: archiver1.google.com comp.os.vms:57699 alt.sys.pdp10:8966 comp.sys.dec:10730 Peter da Silva wrote: > > In article <3C3224FA.D88BF6E4@fsi.net>, > David J. Dachtera wrote: > >If the point is not > >crystal-clear to you by now, then it will take someone closer to your > >own paradigm to do the job. Obviously, that person is not me. > > The problem is, you're trying to talk authoritatively about something > that you seem to be unable to model. If you can't make the leap to the > UNIX model you will simply never know why someone can prefer it to DCL. > > For example, the point you are trying to make is simply meaningless on > UNIX. You do not write scripts in the shell by itself, ever. It doesn't > make sense to try and compare the shell without any external programs to > DCL or Perl or anything else. A UNIX shell script always uses a combination > of the shell and the filters that it runs... > > Would you complain because the PDP-11 doesn't have a MID$ instruction? Oh, > sure, you can call EN EXTERNAL SUBROUTINE to get a MID$, but wouldn't it > be better to program in BASIC where MID$ is built in? > > That sort of argument is obviously nonsense. Well, that's the case with the > shell as well. I agree with you that the essence of true shell scripting is that just about anything requires new processes. That said, the trend is very much away from this "pure" model and into shells where more and more functionality is rolled into the shell itself. Bash has a heck of a lot more builtins than ksh or Bourne shell (in many cases it cuts down process creation by 90%, especially where the original had a lot of calls to things like sed), and for some things that "shell scripts" used to be used for I now use Perl (with the added benefit that I can write it to be portable between Unix and VMS and Windows.) I'm not so sure if this trend is a result of creaping featuritis, a real need to minimize process creation for efficiency, portability, or something else. It's probably a mix of a bunch of factors, but it is occuring. It wouldn't surprise me if the flow starts going the other way - back to more pure models - in the next few years. Perl, the "swiss army chainsaw" that I love so dearly, is an enormous layering of good features over fundamentally flawed features. That's not a bad thing - any good piece of software evolves for the better and at this point Perl is king of the hill - but it's not pretty, and I'd love to see something come up clean and displace it. So far, Perl seems to have simply swallowed all the contenders, and now I see folks writing real object-oriented applications in it! Tim.