Path: utzoo!attcan!uunet!lll-winken!pacbell!att!ihnp4!ihlpf!nevin1
From: nevin1@ihlpf.ATT.COM (00704a-Liber)
Newsgroups: comp.lang.c
Subject: Re: Should I convert FORTRAN code to C?
Message-ID: <5236@ihlpf.ATT.COM>
Date: 8 Jul 88 00:41:40 GMT
References: <2742@utastro.UUCP> <4700015@m.cs.uiuc.edu>
Reply-To: nevin1@ihlpf.UUCP (00704a-Liber,N.J.)
Organization: AT&T Bell Laboratories - Naperville, Illinois
Lines: 14

In article <4700015@m.cs.uiuc.edu> kenny@m.cs.uiuc.edu writes:

>Recursion can *always* be
>eliminated, if necessary by setting up an auxiliary stack.

If you are using an auxiliary stack, then you haven't eliminated recursion,
you have just moved it from being implicitly done by the function call
mechanism to being explicitly done by having your program save/restore the
values on your auxiliary stack.  If, in all cases, you can get rid of the
stack *model*, then I will agree that recursion can always be eliminated.
-- 
 _ __			NEVIN J. LIBER	..!ihnp4!ihlpf!nevin1	(312) 510-6194
' )  )				You are in a little twisting maze of
 /  / _ , __o  ____		 email paths, all different.
/  (_