http://www.perlmonks.org?node_id=951375


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?

Replies are listed 'Best First'.
Re^2: Recursive locks:killer application. Do they have one?
by BrowserUk (Patriarch) 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.