Article View: net.lang.mod2
Article #309Re: Overloading
From: gillies.osbunorth
Date: Wed, 05 Mar 1986 19:30
Date: Wed, 05 Mar 1986 19:30
40 lines
2391 bytes
2391 bytes
Here's a total flame. No
I strongly disagree that basic sequential I/O should go into a language.
Here at Xerox, could you have anticipated these I/O methods, or would
you like to change our compiler every time we prototype a better I/O
system (which we've done several times already, with new modules)?
* Multi-national strings, with 8-bit font codes and 8-bit character
codes
* A more efficient type of string, that is used mostly for network
servers
* Routines to mimic C's printf() and putchar() functionality
* The ability to write to a random window or subwindow on the screen.
* Formatting routines that convert not just numbers, but dates,
processor IDs,
and sockets into a myriad of forms.
If you feel we must standardize "because I/O is so basic to computing"
then we must not understand the basics, which I think is a fair
statement. The basics are redefined every year.
It is amusing to note that only 1/3 of the systems we build here use
even the CHARACTERS and STRINGS defined by the language [MESA]. The
others use their own, and essentially waste the compiler constructs for
creating such objects (luckily MESA doesn't have i/o or string
manipulation primitives, which would have surely gone to waste).
Thus, any I/O constructs that were built into the language, would
presumably operate on types already in the language, and would have gone
to waste in 2 out of 3 of our systems. The End-to-End argument seems to
apply here:
"Functionality, placed at a low-level in a system [the compiler] may be
redudant or of little value when compared with the cost of providing
them at that low level. Low-level mechanisms to support these functions
are justified only as a performance enhancement"
[since many clients must reimplement this functionality anyway]
Don
Technical Details
Message-ID:
<860305-123100-1751@Xerox>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-modula-2Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-modula-2 From: gillies.osbunorth@XEROX.COM Newsgroups: net.lang.mod2 Subject: Re: Overloading Message-ID: <860305-123100-1751@Xerox> Date: Wed, 5-Mar-86 14:30:15 EST Article-I.D.: Xerox.860305-123100-1751 Posted: Wed Mar 5 14:30:15 1986 Date-Received: Sat, 8-Mar-86 18:34:10 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 40