This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: finite state machines in guile



> Does Hobbit use trampolines to implement tail calls between C
> functions?  Or does it just let the stack grow?  Not a criticism, mind
> you --- getting tail recursion to work is a pain.

What is wrong with implementing tail calls as `return(foo())' or something
similar and letting the C compiler optimise them? Seems like doing something
fancier than that is falling into the ``too smart by half'' category.

	- Tel