Better HN
topnewbestaskshowjobs
Log inSign up

rgherdt

4 karma · joined May 11, 2023 (3y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

One strategy is by "tracing" a function call:

https://docs.racket-lang.org/trace/

comment 1y ago · link · parent

That doesn't work for mutual recursion, what is quite common in Scheme programs. Besides, tail call optimization is not only useful in recursion.

comment 3y ago · link · parent

May I quote the first sentences from Scheme's R7RS standard that relates to this topic:

"Programming languages should be designed not by piling feature on top of feature, but by removing the weaknesses and restrictions that make additional features appear necessary. Scheme demonstrates that a very small number of rules for forming expressions, with no restrictions on how they are composed, suffice to form a practical and efficient programming language that is flexible enough to support most of the major programming paradigms in use today."