Name: Anonymous 2018-10-11 14:34
No bluepilled answers please.
1.Garbage collection adds unpredictable latency.Functional programming languages do not necessarily need run-time garbage collection. In fact, they make it easier to avoid it.
2.High memory use.No reason to think that.
3.Reliance on recursion and its optimizationsIs that bad?
4.Requires concentrated mental effort to understand, code isn't self-evident.This is not true, in fact I would argue the reverse.
5.Different terminology and culture of programming that prevent newcomers.How so?
unsafe codeIt's not unsafe if you have proven its correctness.
Reading GHC runtime source code is reccomended to understand on what foundantions the "safe&functional" languages stand.Recommended by whom?
Mathematicians just moved up a level of abstraction.Yes, this is what will happen again except it will skip several levels of abstraction from now.
This is not true, in fact I would argue the reverse.So without consulting documentation what does this code do?
ap (ap . (liftM2 ap .) . liftM2 (.) (.) . (.) . (.)) ((. flip) . (.) . (.))
Functional programming languages do not necessarily need run-time garbage collection. In fact, they make it easier to avoid it.
2.High memory use.
No reason to think that.Plenty of reasons Here is language benchmarks game memory use of Haskell
How so?
Is that bad?https://stackoverflow.com/questions/15688019/recursion-versus-iteration
It's not unsafe if you have proven its correctness.The unsafe code in Haskell runtime in written in C. https://github.com/ghc/ghc/search?l=c