On Mon, 20 Mar 2000, Christophe BAEGERT wrote:
> I've visited the fastcgi site, and it seems the C++ support is still in CVS
> version only...
> So I think it'd be more reasonable to wait a stable version with C++.
Huh. I guess I don't understand how a C++ version would be very different
from a C version unless you wanted to have a particular class structure.
You can, of course, easily call C code from inside a C++ program.
> After that it could be easy to simply run it with FastCGI, but to run it
> really faster, it needs to redesign a little htsearch.cc : all the
> initialization process should be at the beginning of the program, and must
> be executed once (including the reading of the db if there's enough memory
> available). Only the remaining instructions should be executed at each call
> (have to be in a while {...} just after the initialization. Is such a
> design possible for htsearch.cc ?
It would probably require some work. However, it's probably worth it since
the cleanup would probably make it easier to do various caching schemes
that would really make a FastCGI fly. (I'm trying to remember if there are
other similar bindings...)
Of course this is also a question for htdig3-dev, which is why I switched
lists. I think htsearch needs some cleanup even without a change--I think
the code is scattered and needs some factoring.
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.