← Back to context

Comment by qsort

10 hours ago

Python still doesn't have tail recursion, and uses a small stack by default.

I'll note that in modern imperative languages is harder than it looks to figure out if calls are really in tail position, things like exception handling, destructors etc. interfere with this, so even as a SICP fanboy I'll admit it's fair enough that some languages don't want to bother.

> and uses a small stack by default.

It does not, it sets low recursion limit which is a rather different thing.