News for hackers. Stuff that matters.
Re:Concurrency Patterns: Java, Scala, and Clojure by frognibble on Thursday October 22, 2009 @10:00PM (#898129)
Clojure offers three concurrency mechanisms: agents, atoms and refs. Agents are atoms are very easy to use and understand. They are no more complicated than Scala's actors.

Clojure's refs are more complicated than Scala's actors, but Scala has no similar feature. If a Scala programmer needs the functionality in Clojure's refs, then the Scala programmer must use plain old Java concurrency.

Re:Concurrency Patterns: Java, Scala, and Clojure by jrockway on Friday October 23, 2009 @03:25AM (#898412)
You can't use Clojure's libraries from Scala?
Re:Concurrency Patterns: Java, Scala, and Clojure by frognibble on Friday October 23, 2009 @12:12PM (#899027)
Good point. You probably can use the libraries from Scala. In any case, you wouldn't be using Scala's concurrency features.