4 ms·
I am really interested by Software transactional memory and enjoyed reading the Joe Duffy's blog posts about Midori and adventures with STM. https://github.com
by samsquire 4y ago
I am really interested by Software transactional memory and enjoyed reading the Joe Duffy's blog posts about Midori and adventures with STM.
https://github.com/joeduffy/joeduffy.github.io/blob/master/_posts/2015-11-03-blogging-about-midori.md https://github.com/joeduffy/joeduffy.github.io/blob/master/_...
I like left-right concurrency control because it sidesteps a number of thread safety problems by ensuring that a thread can always safely read or write to its own buffer.
- KingMob 4y agoFair warning, STM has largely not panned out in industry, and is no longer in common use. Clojure was built when it was still fashionable, but even having the advantage of immutable-by-default data structures, 99% of modern Clojure doesn't use complicated STM, and instead relies on the humble atom, which is updated with a glorified CAS.