🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3931

Re: who should specify languages?

#3931
From: John Haxby
Date: Tue, 15 Dec 1992 18:03
34 lines
2436 bytes
In article <1992Dec14.201155.9907@newshost.lanl.gov>, jlg@cochiti.lanl.gov (J. Giles) writes:
|> Having languages compatible only at the pipe-I/O level is not 
|> really acceptable.  It's too clumsy, slow, and inflexible to
|> be of any real use for production purposes.  Operationally,
|> a pipe is a weak subset of the functionality that should be
|> present in an interprocess communications package.  Semantically,
|> pipes are a very weak subset of function composition.  Among the
|> problems is the lack of type-checking across the protocol - all your
|> data must be reduced to byte streams (you *could* encode the type 
|> information into the stream, but who does?).  Another problem
|> is that all the communication requires two system calls, and on
|> most implementations: a trip through the system buffers for all
|> the data (both of these are *slow* and it's preferable not to
|> move the data at all).

Well, it depends.  In some cases, procedure call `compatibility' is a
good thing: although you can take it too far (eg VMS where practically
everything is call-by-reference for the sake of FORTRAN).

In some cases, however, the textual integration that UNIX is a shining
example of it useful: it helps the modularization; it means that itsy bitsy
programs can do itsy bitsy jobs and join together in a useful way.  Not
that I'm suggesting that this is a good way to write, say, a wysiwyg editor,
but it's not a bad way to write a text processing system (the troff family, for
example), because it allows you to do all sorts of other things to get
interesting and unssual spelling mistakse :-)

-- 
John Haxby, Definitively Wrong.
Digital				<jch@rdg.dec.com>
Reading, England		<...!uknet!wessex!jch>

----------------------------------------------------------------
The opinions expressed herein are my own, not my employers.
Technical Details
Message-ID: <1992Dec15.180308.23378@rdg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!jch
References: <1992Dec2.230925.8405@newshost.lanl.gov> <1992Dec10.065945.7682@BofA.com> <1992Dec10.192524.25311@newshost.lanl.gov> <id.L8RV.IQC@ferranti.com> <1992Dec14.201155.9907@newshost.lanl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!jch
From: jch@rdg.dec.com (John Haxby)
Subject: Re: who should specify languages?
Message-ID: <1992Dec15.180308.23378@rdg.dec.com>
Sender: news@rdg.dec.com (Mr News)
Organization: Digital Equipment Corporation
References: <1992Dec2.230925.8405@newshost.lanl.gov> <1992Dec10.065945.7682@BofA.com> <1992Dec10.192524.25311@newshost.lanl.gov> <id.L8RV.IQC@ferranti.com> <1992Dec14.201155.9907@newshost.lanl.gov>
Date: Tue, 15 Dec 1992 18:03:08 GMT
Lines: 34