Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^11: Is it worth using Monads in Perl ? and what the Monads are ?

by BrowserUk (Patriarch)
on Jun 15, 2007 at 19:44 UTC ( [id://621509]=note: print w/replies, xml ) Need Help??


in reply to Re^10: Is it worth using Monads in Perl ? and what the Monads are ?
in thread Is it worth using Monads in Perl ? and what the Monads are ?

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 :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^11: Is it worth using Monads in Perl ? and what the Monads are ?

Replies are listed 'Best First'.
Re^12: Is it worth using Monads in Perl ? and what the Monads are ?
by gaal (Parson) on Jun 15, 2007 at 21:56 UTC
    There is no silver bullet. But sometimes you can pick up a better stick.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://621509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-23 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found