6 ms·
What kind of difficult to support advanced features do you have in mind?
by kubb 4y ago
What kind of difficult to support advanced features do you have in mind?
- kaba0 4y agoI’m not who you are responding to, but optimizing recursions (e.g. tail-call elimination), loop fusion, etc. Functional languages (at least haskell) does plenty of optimizations not generally possible in imperative codes.
- kubb 4y agotail call elimination is possible by converting the tail-recursive function to a loop. in fact Go could support it, but the team doesn't want to do that. I agree that everything Haskell does would be hard, but everything e.g. Clojure does should be possible