 | | RE: Would-be hacker queries.
|
|
(...) 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 (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | 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 (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Actually, he goes on to show that in some cases you can eliminate call stack recursion using simple transforms as well. (...) For example, JVM does this by keeping a frame stack of methods that have been executed. The interpreter main loop (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | charger
|
|
what i am doing is building a battery charger for back-up batteries to be used with the handyboard, so i don't have to wait for the batteries to charge. can i use the schematic that i found in the handy board technical reference manual except (...) (28 years ago, 11-May-99, to lugnet.robotics.handyboard)
|
| |
 | | How is the battery doing?
|
|
Time to start a new thread I think. I eventually got my battery monitor working, constants from Kekoa: : .V BASE @ DECIMAL RCX_POWER [ HEX ] 4001 POWER_GET RCX_POWER @ [ DECIMAL ] 10997 390 */ 0 <# [CHAR] V HOLD # # # [CHAR] . HOLD #S #> TYPE CR (...) (28 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
|