Re:If you can't make a language fast, make it parallel
by lukev on Friday July 30, 2010 @03:01PM
(#1562199)
But the beauty is that because it's a Lisp, it's all implemented in terms of macros - Clojure's complete set of concurrency tools could be written as a library.
The only exception is the deref reader macro "@", since Clojure doesn't allow user-defined reader macros by default.
Re:If you can't make a language fast, make it parallel
by kanak on Friday July 30, 2010 @05:22PM
(#1562661)
> it's all implemented in terms of macros
This is not true at present. The core data structures, and the STM machinery are implemented in java, not as macros.
Re:If you can't make a language fast, make it parallel
by plinkplonk on Friday July 30, 2010 @03:12PM
(#1562239)
He probably meant "distributed". Erlang has a better "distributed" story than Clojure.
Clojure has deep language support for concurrency - from syntactical constructs to it's core performant immutable data structures.