3 ms·
One of the most striking difference between Clojure and Haskell: In Haskell Immutability is an Abstraction, not Implementation. Clojure data structures and INT
by truth_seeker 7y ago
One of the most striking difference between Clojure and Haskell:
In Haskell Immutability is an Abstraction, not Implementation. Clojure data structures and INTEGER & FLOAT object wrappers are expensive. Haskell build toolchain produces much-optimized code which preserves the functionality at high level and reasonable performant mutating code at a low level.
- truth_seeker 7y agohttps://github.com/lacuna/bifurcan/blob/master/doc/comparison.md https://github.com/lacuna/bifurcan/blob/master/doc/compariso...
- misja 7y agoYes Haskell performance can be impressive. Check out this one for instance https://stackoverflow.com/questions/6964392/speed-comparison-with-project-euler-c-vs-python-vs-erlang-vs-haskell https://stackoverflow.com/questions/6964392/speed-comparison..., and don't forget to read the comments section.
- truth_seeker 7y agoThanks for the link. I have seen it before. I am very much in love with Haskell build toolchain and different sort of build flag options it provides.
- MaxBarraclough 7y ago> In Haskell Immutability is an Abstraction, not Implementation I'm not sure this is meaningful. What you're really saying is that it has an optimising compiler.