Subject:
|
recursion (was RE: Would-be hacker queries.)
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 11 May 1999 21:38:12 GMT
|
Original-From:
|
Joel Shafer <joel@connect.*StopSpammers*net>
|
Viewed:
|
734 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Here is an interesting article on implementing stack free recursion.
http://www.olympus.net/biz/7seas/recurse.html
At 10:36 PM 5/11/99 +0000, you wrote:
> In lugnet.robotics, rhempel@bmts.com (Ralph Hempel) writes:
> > You are right, but recursion carries a terrible price in terms of stack
> > usage. Most recursion is useful for implementing search and traversal
> > algorithms, but unless the hardware supports DEEP stacks for the worst
> > case, the problem is almost always better solved the iterative way...
>
> Don't modern implementations of Lisp/Scheme/Logo automatically convert tail-
> recursion into iteration?
>
> --Todd
> --
> Did you check the web site first?: http://www.crynwr.com/lego-robotics
Joel Shafer joel@connect.net
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: recursion (was RE: Would-be hacker queries.)
|
| Hi, Important clarification: "data stack" free recursion. This is an important significance. It's really only useful for systems with no data stack.... or alternately as an interesting conversation piece. What's usually more clever is using data (...) (25 years ago, 11-May-99, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | RE: Would-be hacker queries.
|
| (...) You are right, but recursion carries a terrible price in terms of stack usage. Most recursion is useful for implementing search and traversal algorithms, but unless the hardware supports DEEP stacks for the worst case, the problem is almost (...) (25 years ago, 11-May-99, to lugnet.robotics)
|
21 Messages in This Thread: ![RE: Would-be hacker queries. -lego-robotics@crynwr.com (JR Conlin) (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![RE: Would-be hacker queries. -Joel Shafer (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![RE: Would-be hacker queries. -Ralph Hempel (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -lego-robotics@crynwr.com (Paul Speed) (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: recursion (was RE: Would-be hacker queries.) -John A. Tamplin (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Anders Isaksson (12-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -John A. Tamplin (12-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Ben Laurie (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Malcolm S. Powell (13-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Peter Hesketh (13-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Ben Laurie (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -lego-robotics@crynwr.com (Rich Clemens) (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Ben Laurie (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -lego-robotics@crynwr.com (Rich Clemens) (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -Ben Laurie (13-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: recursion (was RE: Would-be hacker queries.) -lego-robotics@crynwr.com (Rich Clemens) (13-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: recursion (was RE: Would-be hacker queries.) -lego-robotics@crynwr.com (JR Conlin) (12-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![RE: Would-be hacker queries. -Todd Lehman (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![RE: Would-be hacker queries. -John A. Tamplin (11-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![RE: Would-be hacker queries. -Joel Shafer (11-May-99 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|