Hacker News new | ask | show | jobs
by dsc 5586 days ago
What about the stack? With all these function calls, it's nightmarish to optimize.
1 comments

(I think) you're starting with the flawed assumption of what "the" stack is, while functional languages like Haskell have a stack, it is very different from the stack as you may now it in C, so the optimization issues are different too. The assembly of functional calls in functional languages can be a lot more lightweight then in for example C.