Comment by dist-epoch
8 hours ago
I think Intel x86 had some hardware support for STM at some point. Not sure what's the status of that.
8 hours ago
I think Intel x86 had some hardware support for STM at some point. Not sure what's the status of that.
That's not software transactional memory, it's hardware transactional memory, and their design was not a good one.
Well, HTM was not useful per se, except accelerating an STM implementation.
It isn't very useful for that, but you can use it to implement other higher-level concurrency primitives like multi-word compare and swap efficiently.
4 replies →
Disabled on most CPUs, plagued by security issues. I haven't used it but I assume debugging would be extremely painful, since any debug event would abort the transaction.