httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: Apache 2.0, NSPR, C++, ...
Date Wed, 24 Jun 1998 20:28:15 GMT
Alexei Kosut wrote:
> On Mon, 22 Jun 1998, Dean Gaudet wrote:
> > > If you can also stomach the idea of using C++ as a "better way to keep
> > > lists of functions than C" then we're really cooking! (err, yeah, I'm
> > > talking virtual functions here).
> >
> > No you'll have to whack on me some more.  It's best for you to introduce a
> > subtle bug that you know I'll track down (i.e. put it in vhosts and then
> > nobody else will touch it ;)... a subtle bug that when found I'll realize
> > "oh duh, virtual functions solve this problem!"  ;)
> Well, IMHO, putting virtual functions in the Apache core itself (at least,
> right now) won't fix anything, and as you (Dean) made me painfully aware
> earlier this year, they aren't the fastest buggers in the world (can
> anyone say "Java"?). I mean, I don't see the need for polymorphism right
> now, not without a real OO redesign of the core code.
> On the other hand, the Apache modules are just crying out for it... the
> module_struct structure in particular strikes me as a place that tries to
> approximate polymorphic derived classes using a C language feature that
> isn't perfect for the task.

That's _exactly_ what I had in mind!



Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|
and Technical Director|Email: |
A.L. Digital Ltd,     |Apache-SSL author
London, England.      |"Apache: TDG"


View raw message