Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hello scorpion7 and welcome to the monastery and to the wonderful world of Perl!

you are asking for some guindance and I must admit I'm not able to provide it, but in the monastery you can find very good suggestions about this matter. Even if I'm not able to provide such guidance I can suggest you something because I'm following parallel perl programming since years, even if i produced almost nothing in this field.

First of all: is possible to produce full working perl parallel applications but the path is full of possible pitfalls. At some point perl threading was oficially discouraged because was too easy make it the wrong way (*).

But is definetively possible to produce good working code but you must take inspiration (read: copy) from the rigth authors. Here at perlmonks we have definetively at least two incredibly neat parallel perl programmers: BrowserUk and zentara.

While the first is more used to work on windows systems the latter almost exclusively works on Linux. Super Search their posts about parallel programming and you'll get a goldmine of neat and smart solutions and many insigths about possible pitfalls.

This does not means that no other monks here is a parallel programming expert, but the two above are eminent for offering full working examples (for example karlgoethebier's serie Threads From Hell is also very interesting).

Many links are present in my homenode about this matter, not only by the two monks above but also by others experimenting about parallel programming.

Then there is the framework: read my meditation parallel programming and MCE - hubris and the frame about it.

Infact a recently appeared monk, marioroy has produced a wonderful module suit to help building parallel applications with the full support for windows systems and many other goodies: MCE Many-Core Engine for Perl.

marioroy is very active and responsive here at perlmonks and you can read with profit all his posts here because all are about parallel programming and he offers many times complete examples and benchmarks between different approaches.

I hope the above is interesting for you and I hope you'll share your findings and progress.

L*

Note (*) I think my opinion about the possibility to do parallel programming in Perl seems to me clearly exposed in the present thread and in the linked one: however it also seems that to quote a, even if discutible, part of official documentation attracts critics as below expressed. I see no problem in what I said if examinated in the context. Anyone can think what they want.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

In reply to Re: Threading with a twist -- a panorama by Discipulus
in thread Threading with a twist by scorpion7

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 having a coffee break in the Monastery: (3)
As of 2024-03-29 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found