Rich kids are into COBOL
bqt at update.uu.se
Fri Feb 27 16:03:59 CST 2015
On 2015-02-27 22:57, Chuck Guzis wrote:
> On 02/27/2015 01:18 PM, Johnny Billquist wrote:
>> No, C was developed for/on the PDP-11. Unix was originally
>> implemented was then ported to the
>> PDP-11, and then rewritten in C.
> Although ++ and -- were convenient for code writers, they did lead to
> some "it depends" implementation details WRT function calls. I assume
> that ANSI C has straightened that all out, but I still avoid that type
> of thing by habit.
I'm not aware of any ambiguity WRT function calls, but you do have a
ambiguity WRT the same argument being used multiple times (incluiding if
you have increments on it) as the order of evaluation of any part of a
statement in C is undefined except for some special cases.
> Digressing a bit, I recall talking with a fellow from Xerox on Coyote
> Hill Rd. (not Xerox PARC) back in the early 80s and being surprised that
> he said they coded in B. Was this the same B developed on the PDP-7? Or
> was it some other beast?
I don't think B was developed on a PDP-7, only that it existed for the
PDP-7, among other machines.
Not that Unix was ever written in B anyway, but I believe that B did
exist for the PDP-7.
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
More information about the cctalk