On Sep 17, 6:54 pm, dongbo <dongb.w...@gmail.com> wrote: > Can any one give a comparison between Clojure and Erlang on concurrent > programming?
Erlang supports one concurrency model, Actors. Clojure supports several -- Agents, which are similar to Actors; Refs, which have ACI (not D) transactional semantics; and Atoms, which have atomic updates. Erlang is designed for distributed operation across many machines; Clojure is designed for a single machine with many cores. Erlang is designed to hot-swap entire modules in a running production system; Clojure is not. Erlang has its own light-weight thread model; Clojure threads are JVM threads, which are usually operating system threads. You can't really say that one approach is more efficient than another without reference to a specific problem. -SS --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---