On 03.01.2009, at 21:20, Mark Volkmann wrote: > One of the stated benefits of functional programming I've seen is that > the compiler of a functional language can analyze code and determine > statements within a function > that can safely be run concurrently. As > far as I know Clojure doesn't yet do this. Correct?
Yes. > Which functional programming languages, if any, do this? None of the well-known ones. Perhaps none at all. While it is true that *pure* functional programs (Clojure programs are not guaranteed to be purely functional) can be analyzed by a compiler to detect what can safely be executed in parallel, that is only half the story. The other important step is figuring out what to execute in parallel in order to gain speed, and that problem is still unsolved. Still, functional programming is a big help in manual parallelization, as you don't have to worry about breaking your code. You just have to work for gaining speed. Konrad. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---