| | RE: Would-be hacker queries. Todd Lehman
| | | (...) Don't modern implementations of Lisp/Scheme/Logo automatically convert tail- recursion into iteration? --Todd (26 years ago, 11-May-99, to lugnet.robotics)
| | | | | | | | RE: Would-be hacker queries. John A. Tamplin
| | | | | (...) Yes, as do decent implementations of traditional compiled languages. For example, GCC converts the following: int f(int v) { if(v<2) return v; return f(v-1); } into int f(int v) { while(v>1) { v--; } return v; } Not terribly useful, but (...) (26 years ago, 11-May-99, to lugnet.robotics)
| | | | | | |