Deutsch English Français Italiano |
<20240408075547.000061e8@gmail.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: John Ames <commodorejohn@gmail.com> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Mon, 8 Apr 2024 07:55:47 -0700 Organization: A noiseless patient Spider Lines: 16 Message-ID: <20240408075547.000061e8@gmail.com> References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org> <0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Mon, 08 Apr 2024 14:55:50 +0200 (CEST) Injection-Info: dont-email.me; posting-host="581b36d418059bd82314115abf68c909"; logging-data="3727444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184g0vLgkJuAYhhCOEWFu8HJ9k0uA5xiwo=" Cancel-Lock: sha1:aMuEd0mIiZk5vnseOR3h7N+1D1M= X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32) Bytes: 1910 On Sun, 07 Apr 2024 00:01:43 +0000 Javier <invalid@invalid.invalid> wrote: > It certainly encourages the writing of small modular tools. The > downside is the loss of performance because of disk access for trivial > things like 'nfiles=$(ls | wc -l)'. I suspect disk access times where > one of the reasons for the development of perl in the early 90s. You really want either built-ins for a lot of basic commands, or a good scheme for caching commonly-used executables. AmigaDOS (a TriPOS derivative) made it pretty trivial to set up a RAM disk and add that to the search path, which made a big difference in performance since almost nothing was built-in. Wouldn't be hard to do in *nix-land, either, but it's an open question whether you'd gain anything over modern generalized disk caching.