Re: perl multithreading performance



On Thu, 28 Aug 2008 19:26:28 +0000, Leon Timmermans wrote:

On Wed, 27 Aug 2008 23:53:09 +0200, Martijn Lievaart wrote:

Perl threading, well frankly, sucks. You may want to switch to another
language with re support that meets your needs.

Some would say all threading sucks. All approaches are either hard to
get a proper performance from or hard to get correct. At least the queue
approach perl promotes gets one of them right.

Well, Perl threading has it uses (and maybe this use case is one of
them), but it has severe limitations. For instance, signals are out. That
alone was the killer in each and every case I thought I could use threads
in Perl.

Threading in general doesn't suck. It's hard to get right until you get
some basic understanding, but after that I find threading a valuable tool
in the toolbox.

Perl threading does suck in my opinion, I didn't know Python threading
sucked harder.

M4

.