Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I heard that threads in perl are interpreter-level threads which cannot utilize multi-core and perl doesn't pthreads.
I'm not exprienced at developing servers so I'm not sure whether there are any disadvantages of not supporting pthreads in perl when develping web applications.
How perl based websites handle multiple requests at the same time without threads?
And also I want to know if perl has a plan to support pthreads someday.
  • Comment on Disadvantage of not supporting pthreads in perl and how perl overcomes?

Replies are listed 'Best First'.
Re: Disadvantage of not supporting pthreads in perl and how perl overcomes? (cores)
by tye (Sage) on Aug 14, 2015 at 17:00 UTC
    I heard that threads in perl [...] cannot utilize multi-core

    Perl threads certainly can use multiple cores.

    How perl based websites handle multiple requests at the same time without threads?

    Most of them probably use multiple processes.

    - tye        

      How can perl threads use multi-core? can you tell me more in detail? and how perl's ithreads work exactly?
        A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.