Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Weakness in the eye of the beholder.

Agreed. And if the beholder stands a mile away atop a pedastal, they get a particularly bad view.

Your throwaway, uninformed, and fatuous statement is equivalent to saying that "Using Unicode is bad, because it leaves you open to getting all them funny foreign characters".

FYI: Ithreads do not "randomly deadlock or corrupt from race conditions".

Indeed, you may start as many threads as you like and leave them running until doomsday, and they will never do so, unless you, the programmer, create the a situation in which that can occur. And it is just as possible to create either of those errors when programming communications between processes.

So the programmer can create these problems whenever they write bad IPC code. Your conjecture that this is a "threads problem" is just FUD.

However, if you need to communicate between asyncronous tasks, then iThreads provide mechanisms--coded by experts to avoid those problems--that mean that the programmer can avoid having to learn how to perform the communications themselves.

Ergo, if you need to multitask, and you need those tasks to talk to each other, it is easier, safer and quicker to do that with threads. It isn't even complicated--done correctly.


Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.

In reply to Re^6: Isolating dynamically loaded modules with Thread::Isolate. by BrowserUk
in thread Isolating dynamically loaded modules with Thread::Isolate. by gmpassos

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found