3 ms·
I'm not sure I agree. Reads also need to be in transactions in order to prevent deadlocks. I think the paper I linked is pretty accessible, so it's worth a re
by jrockway 15y ago
I'm not sure I agree. Reads also need to be in transactions in order to prevent deadlocks. I think the paper I linked is pretty accessible, so it's worth a read.
I agree that most of your program should be pure, though, but that's just a good practice in general, not something tied to transactional memory.