You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by pengyh <pe...@mail.de> on 2022/08/20 02:18:33 UTC

mod_perl and mod_python

I know perl and python a bit well, most time use both of them for work.
besides mod_perl, there is also mod_python.
do you know what's the difference between them?
I never heard people using mod_python to make some jobs.

Thanks

Re: mod_perl and mod_python

Posted by Mithun Bhattacharya <mi...@gmail.com>.
That is because unlike mod_perl mod_python doesn't integrate deeply into
Apache and you can't extend every HTTP request cycle phases.

Only two programming languages integrate that deeply - C and Perl.

On Fri, Aug 19, 2022, 7:19 PM pengyh <pe...@mail.de> wrote:

> I know perl and python a bit well, most time use both of them for work.
> besides mod_perl, there is also mod_python.
> do you know what's the difference between them?
> I never heard people using mod_python to make some jobs.
>
> Thanks
>

Re: mod_perl and mod_python

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Its got a GIL and it cores frequently and it’s not exposing much of the
httpd/apr.  It’s not that popular compared to wsgi.

On Fri, Aug 19, 2022 at 10:20 PM pengyh <pe...@mail.de> wrote:

> I know perl and python a bit well, most time use both of them for work.
> besides mod_perl, there is also mod_python.
> do you know what's the difference between them?
> I never heard people using mod_python to make some jobs.
>
> Thanks
>
-- 
Joe Schaefer, Ph.D.
We only build what you need built.
<jo...@sunstarsys.com>
954.253.3732 <//954.253.3732>