Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: What Happened to Transactional Memory?
1 point by mettamage on March 31, 2021 | hide | past | favorite | 2 comments
I'm getting into concurrency again, rereading the book written by Herlihy and Shavit. Transactional memory seemed to be quite the thing back then.

But when I'm doing a search on HN, I do not see any relatively new submissions [1]. So what happened to transactional memory?

[1] https://hn.algolia.com/?q=transactional+memory



No good support from the underlying processors, which meant that no one really used this, because even if you had support for this, you had a high performance cost.

That led to users wanting to find other methods to make this work.

And in general, the path has been either to avoid shared memory entirely (negating the need for tx memory) or using lock free algorithms (which won't worked with tx memory).

It is a great idea, in theory, but it proved impractical in practice.


The Clojure language makes use of software transactional memory.

https://clojure.org/reference/refs




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: