develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133021] Removed the word "discouraged" from threads'documentation

Thread Previous | Thread Next
Christian Walde
April 8, 2018 22:23
Re: [perl #133021] Removed the word "discouraged" from threads'documentation
Message ID:
There's one thing you're missing and why i think it's bad to call it
alarmist. It is a simple matter if fact that even if theoretically the
threads implementation is bug free and the foot guns documented, actually
using threads often surfaces foot guns as heisenbugs:

- perl threads can work fine under a certain load, but crash randomly once
the load becomes too big
- perl threads can work fine on one computer, but crash randomly on another
due to slight module differences

This leads to a situation where the most accurate way to describe threads

Threads are fine to use in production only once the people working with
them know and understand exactly and perfectly how they are implemented,
what the drawbacks are, and how to handle problems arising from cpan
modules that were not written by such people or have mistakes regarding
threads in them.

On Thu, Apr 5, 2018, 10:40 Sawyer X <> wrote:

> Did I miss anything?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About