Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cornell.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!gwyn@BRL.ARPA From: gwyn@BRL.ARPA Newsgroups: net.emacs Subject: Re: gnu design question Message-ID: <22@cornell.UUCP> Date: Mon, 30-Dec-85 09:54:36 EST Article-I.D.: cornell.22 Posted: Mon Dec 30 09:54:36 1985 Date-Received: Tue, 31-Dec-85 03:58:31 EST Sender: daemon@cornell.UUCP Organization: Cornell Univ. CS Dept. Lines: 10 From: Doug Gwyn (VLD/VMB) Alloca() is definitely not portable, and Dennis Ritchie even tried to suppress it altogether in 7th Edition UNIX (obviously not fully successfully). Except for the action of longjmp(), alloca() does nothing that malloc()/free() would not do. I don't understand why GNU EMACS wants to use setjmp() and alloca() so heavily; in the over 500,000 lines of source code that I maintain, there is not a single use of alloca(), and only a few places where it could have been used effectively if available.