3 ms·
write factorial in scheme, then in clojure. And you might see an very interesting difference. Hint: the jvm does not have tail call optimization.
by morphir 16y ago
write factorial in scheme, then in clojure. And you might see an very interesting difference. Hint: the jvm does not have tail call optimization.
- fierarul 16y agoAs if somebody would pick Scheme over Clojure for tail call optimization alone. Clojure has a lot of handy stuff and the fact that's built on top of the JVM (with its limitations, indeed) is a major plus.