in reply to Re^6: threading a perl script
in thread threading a perl script

... all these are fast and (hopefully) well-tested.

No. They are not. They measure the wrong thing and are dog slow. Trust me on this, because I have tried them and measured.

And that is the problem. You--like many others--make definitive statements based upon assumptions rather than tests.

I, personally, never benefit from threads in perl.

Of course you don't. You never use them. How could you?

I will remain your friend with non-threaded perl

Great! I really hope that is so. Please don't take what follows personally.

What I do object to is you--and others--who are variously too scared, too lazy, or threads-are-too-MS, or simply too disinterested, to be bothered to actually try them, and work out what they are good for and what they are not, popping up in any discussion the mentions threads, saying they are useless, broken and will cause your grandchildren to be born with multiple heads.

And all based on something you half-read and totally misunderstood, written by somebody who misheard it from someone they met at a tech conference--or maybe they read it on the back of a cereal packet.

If you don't use them, that's fine. If you can demonstrate alternative solutions that are simpler, quicker, more portable, or more X, please do. Really, please do. I like nothing better than a good head-to-head comparison. But if all you have to 'contribute' to these threads is general, non-specific negativity, it really wears thin fast.


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.

Replies are listed 'Best First'.
Re^8: threading a perl script
by Anonymous Monk on Apr 24, 2011 at 19:11 UTC

      Yes. And??

Re^8: threading a perl script
by vkon (Curate) on Apr 24, 2011 at 20:23 UTC
    all true.
    except for this
             And all based on something you half-read and totally misunderstood, written by somebody who misheard it from someone they met a tech conference--or meybe read it on the back of a cereal packet.
    my opinion was based on RTFS and reading p5p and reading ./win32/Makefile

              They measure the wrong thing and are dog slow.
    again, you know better, given that you attacked a problem thoughtfully.

    ok, you convinced me :)
    I will have more careful approach about threads, and will stop explaining to each other about drawbacks of perl threads.

    Have a nice day,
    Vadim.