develooper Front page | perl.perl5.porters | Postings from March 2014

Re: RFC: add discouragement warning to perl threads documentation

Thread Previous | Thread Next
From:
David Golden
Date:
March 3, 2014 15:09
Subject:
Re: RFC: add discouragement warning to perl threads documentation
Message ID:
CAOeq1c8CiEWVCWbkNUFAO32nTuMGpNKJcgCzrU=6NzYwXU=JvA@mail.gmail.com
On Mon, Mar 3, 2014 at 9:43 AM, Rocco Caputo <rcaputo@pobox.com> wrote:
> Perl's threads are deprecated outside perl5-porters.  When asked for help, Perl's users, Porters, and activists will usually harangue people to stop using them.

But "deprecated" has a specific meaning that I think is incorrect.

To state my own position, threads in Perl are effectively
"discouraged" outside their necessity for (imperfect) fork emulation
on Windows.  And I thought we should make that explicit and explain
why in the relevant documentation to warn people – particularly from
other languages – that threads in Perl are not something to be used
lightly (pun not intended).

David

-- 
David Golden <xdg@xdg.me> Twitter/IRC: @xdg

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About