Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mattetti
· 11y ago · 0 comments
This is a fun project, I'm looking forward to seeing how far you can take it. One thing to note is that Go doesn't have TCO so performance when using a lot of recursion might be pretty bad or the compiler has to be smart and use loops and states.
Comments
[–]
sesm
11y ago
JVM also doesn't have TCO, so Clojure has a special form, which transforms recursion into an ordinary loop:
http://clojure.org/special_forms#Special%20Forms--%28recur%2...
Author of Kashimir could use a similar solution.