[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4751A77A.9050204@tmr.com>
Date: Sat, 01 Dec 2007 13:27:06 -0500
From: Bill Davidsen <davidsen@....com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
CC: David Newall <david@...idnewall.com>,
Jan Engelhardt <jengelh@...putergmbh.de>,
Xavier Bestel <xavier.bestel@...e.fr>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Ben.Crowhurst@...llatravel.co.uk, linux-kernel@...r.kernel.org
Subject: Re: Kernel Development & Objective-C
Alan Cox wrote:
>> BCPL was typeless, as was the successor B (between Bell Labs and GE we
>
> B isn't quite typeless. It has minimal inbuilt support for concepts like
> strings (although you can of course multiply a string by an array
> pointer ;))
>
> It also had some elegances that C lost, notably
>
> case 1..5:
>
> the ability to do no zero biased arrays
>
> x[40];
> x-=10;
Well, original C allowed you to do what you wanted with pointers (I used
to teach that back when K&R was "the" C manual). Now people which about
having pointers outside the array, which is a crock in practice, as long
as you don't actually /use/ an out of range value.
>
> and the ability to reassign function names.
>
> printk = wombat;
I had forgotten that, the function name was actually a variable with the
entry point, say so in section 3.11. And as I recall the code, arrays
were the same thing, a length ten vector was actually the vector and
variable with the address of the start. I was more familiar with the B
stuff, I wrote both the interpreter and the code generator+library for
the 8080 and GE600 machines. B on MULTICS, those were the days... :-D
>
> as well as stuff like free(function);
>
> Alan (who learned B before C, and is still waiting for P)
I had the BCPL book still on the reference shelf in the office, along
with goodies like the four candidates to be Ada, and a TRAC manual. I
too expected the next language to be "P".
--
Bill Davidsen <davidsen@....com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists