Should I convert FORTRAN code to C?

00704a-Liber nevin1 at ihlpf.ATT.COM
Fri Jul 8 10:41:40 AEST 1988


In article <4700015 at m.cs.uiuc.edu> kenny at 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.
/  (_</_\/ <__/ / <_	These are solely MY opinions, not AT&T's, blah blah blah



More information about the Comp.lang.c mailing list