From dmr@bell-lbs.com Wed Feb 2 00:02:18 2000 Path: news.eng.us.uu.net!uunet!ffx.uu.net!nntphub.cb.lucent.com!news From: Dennis Ritchie Newsgroups: comp.std.c Subject: Re: !alloca (was: Re: How's this: Where do I get a C99 compiler?) Date: Mon, 31 Jan 2000 19:08:12 +0000 Organization: Lucent Technologies, Columbus, Ohio Lines: 17 Message-ID: References: NNTP-Posting-Host: centaur.cs.bell-labs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (WinNT; U) Xref: news.eng.us.uu.net comp.std.c:32470 As a point of history, alloca was first done by Ken Thompson between the 6th and 7th edition PDP-11 systems. Because of the stack layout, this was trivial and robust against most of the obvious failures (not f(a, alloca(10), b) though.) When we started doing the Interdata port, alloca looked quite hard to do and much less robust. So I extirpated it; none of our distributions had it. Somehow, however, it had escaped, perhaps in a PWB distribution. Or perhaps it was reinvented. Dennis
Archive for the ‘software’ Category
Origin of alloca
August 5, 2008Why Pascal Is Not My Favorite Programming Language
August 5, 2008This classic article from 1981 made me glad we used C in my computer science classes. Now someone needs to write something as good about Java.
