5 ms·
I've read Simon Peyton Jones's Beautiful Code excerpt (http://lambda-the-ultimate.org/node/1964 http://lambda-the-ultimate.org/node/1964 for those who need it),
by lincolnq 18y ago
I've read Simon Peyton Jones's Beautiful Code excerpt (http://lambda-the-ultimate.org/node/1964 http://lambda-the-ultimate.org/node/1964 for those who need it), and it's very nice.
I would be interested in the "too much overhead" article -- can you track it down? I've been researching STM for a while and seen a lot of papers focused on performance and such, so I'd be surprised if whatever the article claims are the problems are not fixable in the long term.
(STM can be nearly reduced to "taking locks", especially if you are compiling, so it really shouldn't be worse than lock-based synchronization, and it's much easier to reason about.)
- yters 18y agoNo promises about tracking down the article, but I'll make sure you get it if I do.
- mad 18y agoHere you go: http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=558 http://www.acmqueue.com/modules.php?name=Content&pa=show... The issue is that STMs have a lot of book-keeping overhead in addition to the locking.