[plug] Thank you to Rusty, Chris, Robert, and others. PLUG News and upcoming events.
Rusty Russell
rusty at rustcorp.com.au
Thu Oct 13 14:22:58 WST 2011
On Wed, 12 Oct 2011 09:44:45 +0800, James Bromberger <james at rcpt.to> wrote:
> Hello all,
>
> I'm hoping that for those of you that were there, last night's
> bigger-than-normal PLUG tech talk was entertaining and enlightening!
Oh, and Chris was right; he approached me afterwards and claimed that
code was Rob Pike, not Dennis Richie.
Here's some dmr code from the 1972 prototype C compiler, in memoriam:
init(s, t)
char s[]; {
extern lookup, symbuf, namsiz;
char symbuf[], sp[];
int np[], i;
i = namsiz;
sp = symbuf;
while(i--)
if ((*sp++ = *s++)=='\0') --s;
np = lookup();
*np++ = 1;
*np = t;
}
Cheers,
Rusty.
More information about the plug
mailing list