develooper Front page | perl.module-authors | Postings from November 2008

Re: META.yml how to declare the need for threaded perl?

Thread Previous | Thread Next
From:
Jonathan Rockway
Date:
November 1, 2008 09:51
Subject:
Re: META.yml how to declare the need for threaded perl?
Message ID:
87ljw35r0u.fsf@bar.jrock.us
* On Sat, Nov 01 2008, Dr.Ruud wrote:
> Gabor Szabo schreef:
>
>> I guess we can implement everything with fork but I think -
>> maybe because of my lack of experience in threads - that it will
>> be better to use them than to fork.
>
> I think it was Randal Schwartz who said something like: If the answer
> involves threads, then the question was wrong.

This assumes that you value snide comments over working code.

Anyway, I wouldn't use threads for this, but that doesn't make threading
an unreasonable approach.  I would use POE.

(Oh, and by "would", I mean "do":
http://git.jrock.us/?p=Server-Stylish.git;a=summary )

Regards,
Jonathan Rockway

--
print just => another => perl => hacker => if $,=$"

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