First of all, I must say, this TSX stuff is FREAKING AWESOME! I've
wanted these features for years.
So basically you're going to need two STM solutions, 1) hardware based
off of TSX 2) software based, and we'd need the ability to swap these
two models out on-the-fly. All you really need is for the VM to
somehow expose these new CPU features to the hosted languages.
Sadly though, no, I don't think you'll see this in Clojure any time
soon. The JVM would have to be updated to support these instructions
and some sort of routines would need to be added. Since the JVM
strives to be completely cross platform, I don't think we'll see this
happening any time soon.
But there is hope for variants of clojure that run on other VMs. For
instance, my project (shameless plug) clojure-py
(https://github.com/halgari/clojure-py), will eventually support the
PyPy style of STM. In this case, the pypy JIT could simply generate
different JIT code depending on the capabilities of the underlying
hardware.
Timothy
On Wed, Feb 8, 2012 at 1:38 AM, edlich edl...@gmail.com wrote:
Hi all,
will this RTM have a big language effect on Clojure and other
languages?
http://software.intel.com/en-us/blogs/2012/02/07/transactional-synchronization-in-haswell/
Best
Stefan Edlich
--
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
--
“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)
--
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