An interesting aside arises from working my way through your links on STM. From section 4.4 of STM.pdf:
Like high-level languages, transactional memory does not banish bugs altogether; for example, two threads can easily deadlock if each awaits some communication from the other.
The oft-quoted problem with lock-based shared state is the deadlock problem. I was under the impression that STM was the cure for this. I'm disappointed to discover that's not the case.
See, you gotta look under the covers :)
In reply to Re^11: Is it worth using Monads in Perl ? and what the Monads are ?
by BrowserUk
in thread Is it worth using Monads in Perl ? and what the Monads are ?
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |