Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Recursive locks:killer application. Do they have one?

by mbethke (Hermit)
on Feb 02, 2012 at 08:14 UTC ( #951375=note: print w/ replies, xml ) Need Help??


in reply to Recursive locks:killer application. Do they have one?

I agree, although I find the following comment on StackOverflow quoting Dave Butenhof more convincing, the one that basically goes "if you think you need this, you're doing it wrong".

That said, the same goes for the whole multithreading paradigm, at least in scripting languages. Separated address spaces were invented for a reason, namely to keep people from shooting themselves in the foot in one of the many ways possible without them---I've used an Amiga for a long time and probably succeeded at most of these. I know a few people that I believe know what they're talking about when they say they need multithreading because everything else would be even more complicated, but the vast majority of programs and everything written by people who think multithreading was easy would be better served by a decent fork() (OK, sucks to be on Windows ...) or a state machine.


Comment on Re: Recursive locks:killer application. Do they have one?
Re^2: Recursive locks:killer application. Do they have one?
by BrowserUk (Pope) on Feb 02, 2012 at 14:14 UTC
    I find the following comment on StackOverflow quoting Dave Butenhof more convincing, the one that basically goes "if you think you need this, you're doing it wrong".

    That said, the same goes for the whole multithreading paradigm ...

    I'm guessing you didn't take the time to look up Dave Butenhof's main claim to fame?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.

    The start of some sanity?

      I'm guessing you didn't take the time to look up Dave Butenhof's main claim to fame?
      No, I didn't have to. "The one quoting David Butenhof" was just meant to help identify the comment, not to say "I agree with it because Butenhof said it". I happen to find this particular argument of his convincing, no more, no less.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2014-04-16 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls