Pure functions are known to facilitate parellelizing.What is it about functional programming that makes it inherently adapted to parallel execution? Are compilers such as Javac smart enough to detect when a method is a pure function? One can always implement classes which implement functional interfaces such as Function, but have side effects.
Do compilers like Javac automatically detect pure functions and parallelize them?
functional programming