Re:Ruby's Proposed STM
by mrh0057 on Friday October 30, 2020 @04:06AM
(#24940096)
STM is implemented using immutable data structures and using atomics you can do a compare and swap to update the value. If the swap fails you try your transaction again. Iām not sure how you would implement this in a language with mutable data structures easily. I know Azul had hardware transactional memory that supported its.
[ Parent
| on HN ]
There are no comments on this comment yet.