Clojure doesn't start any threads you don't tell it to. In Haskell, there's a strict compile-time distinction between pure functions and impure functions, so Haskell always knows which functions can be run concurrently without issue. Actually running stuff concurrently without explicit direction from the programmer, however, is another matter. The implementations of Haskell that do this are experimental and not widely used.
http://en.wikipedia.org/wiki/Automatic_parallelization --Brian Will On Jan 3, 12:20 pm, "Mark Volkmann" <[email protected]> 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? > > Which functional programming languages, if any, do this? > > -- > R. Mark Volkmann > Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
