4 ms·
STM is useful even if you have good threading support. You could easily build a STM library for Java or C#, and there are some, but without syntax support it's
by VMG 12y ago
STM is useful even if you have good threading support. You could easily build a STM library for Java or C#, and there are some, but without syntax support it's pretty cumbersome to use.
Clojure has good STM support because it's easy to add the necessary primitives to a Lisp.
- jpgvm 12y agoPrecisely. :) STM's advantages are not so much in -enabling- threading, but instead allowing for new paradigms (possibly simpler ones).