On Tue, 22 Feb 2011 19:39:46 +0100, Zach Beane <[email protected]> wrote:
> Márcio Faustino <[email protected]> writes: > >> Is it easier/faster to use Lisp as a CGI script language under Linux? > > A common model for CL web work is to start a long-running Lisp process > and communicate with it over a socket. That way you don't pay the > startup costs repeatedly. Like this <http://www.fractalconcept.com/asp/html/mod_lisp.html>? I'm just trying to get started with writing Lisp as a CGI script. Have you ever tried something like this? If so, what did you use/do? On Tue, 22 Feb 2011 19:48:20 +0100, Juan Jose Garcia-Ripoll <[email protected]> wrote: > 2011/2/22 Márcio Faustino <[email protected]> > >> I also noticed that it takes a really long time to load Quicklisp whenever >> I start up ECL, almost 2s. > > > This is a problem with Windows. When ECL has to load a compiled filed it has > to make a copy of it. It can't just use DLLOpen because that "locks" the > file and avoids recompilation / deletion of the file. That means ECL has to > copy each one of the compiled files of each library that Quicklisp requires. > Add to this the fact that Quicklisp is not using ECL's extensions, which > allow merging multiple compiled files in a single FASL file and you get the > slow loading times. Help is welcome on how to solve this -- there might be > better ways to do this. I thought you could call LoadLibrary(Ex) multiple times using the same path/name and it would return the same handle. Anyway, I don't know anything about this either so I might be writing non-sense. -- Márcio Faustino ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Ecls-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecls-list
