News for hackers. Stuff that matters.
Re:Taking PHP Seriously by jstimpfle on Thursday October 13, 2016 @05:54PM (#12704374)
I think python has exactly that with WSGI. With this protocol you make a module containg an "application" function object which is called by the server when a request arrives. On module load time you can do any required setup work.

(On my systems, by default there is some reuse of the loaded module, so you can leak state between requests. However it should be possible to avoid reused processes).

There are no comments on this comment yet.