One Python, singing in the darkness

Mod-python is an Apache module which loads one copy of Python at Apache startup, and then all subsequent Python web applications use this one Python interpreter. It means that you don’t incur Python startup times every time you visit a URL, and it’s really useful. (There are similar-but-different approaches, such as FastCGI and SCGI; they all basically involve running one Python interpreter, though.) Lazyweb: Would it be possible to do this for the Linux desktop? Have one Python running and have it run all the applications that use Python? I don’t know how you stop a crash in one application crashing all unrelated applications, but the modpython people have presumably solved this problem. Python isn’t significantly slower than C for most actual applications, which are event-driven anyway, but startup is certainly slower; it’d be rather nice to have that startup wait go away.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)