like mod_python but in the kernel????

JanC usenet_spam at janc.invalid
Fri Feb 6 08:22:03 EST 2004


"Martin v. Löwis" <martin at v.loewis.de> schreef:

> Camilo Olarte wrote:
>> If python cgi scripts can be acceletaded by means of mod_python in
>> apache (loading the python interpreter on apache)  , then : ?Is there
>> a way of doing the same but with linux kernel...  and command line
>> scripts ? 
> 
> No. mod_python reduces startup speed because it performs all the
> import actions that occur when Python starts. The same is not possible
> with the command line, as memory that the kernel allocates is not
> accessible to applications.

Then embed Python in the shell instead of in the kernel...  ;-)

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9



More information about the Python-list mailing list