Re: Command Languages Versus Programming Languages

Liste des GroupesRevenir à cu programmer 
Sujet : Re: Command Languages Versus Programming Languages
De : commodorejohn (at) *nospam* gmail.com (John Ames)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.misc
Date : 08. Apr 2024, 16:55:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240408075547.000061e8@gmail.com>
References : 1 2 3
User-Agent : Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
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.


Date Sujet#  Auteur
10 Nov 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal