in reply to Re^9: Should I use threads? Perl/DHCP/Radius
in thread Should I use threads? Perl/DHCP/Radius

And? You can mix threads and event loops. Big deal. The question is: why would you?

You could still employ a man to carry a flag and walk in front of your 200mph hypercar, but it doesn't make sense to do so.


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.
RIP an inspiration; A true Folk's Guy
  • Comment on Re^10: Should I use threads? Perl/DHCP/Radius

Replies are listed 'Best First'.
Re^11: Should I use threads? Perl/DHCP/Radius
by zentara (Cardinal) on Aug 25, 2010 at 15:40 UTC
    question is: why would you

    Well it is closer to the way humans analyze their problems.... eventloops are closer to the way the mind works, as opposed to nesting logic loops. You can even have multiple loops going simultaneously, each with a different context, just like human thought. Artificial Intelligence is easier to model using eventloops, since it mimicks it's creators.....us.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      Sorry. But that is absolute bollocks.

      Modern research has long since shown that "us"--whether the males or females of the species--are absolutely useless at multitasking.

      And asserting that the human brain works like an event loop is even bigger bollocks. Watch this...

      Did you see it?


      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.
        Did you see it?

        Yeah, I read from left to right, you old school conformist! :-) I also read 5 lines at a time, thanks to Speed Reading Class.

        Are you telling us, that BrowserUk cannot walk and chew gum at the same time?

        Or that people can't talk on a cellphone, and drive at the same time?


        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh