Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-10-26 06:11:37

> The real issue is that regexp library can (and therefore should) be
> fixed for real - installing a few virtual methods could prevent the
> whole code from being reinstantiated. I'm saying that the size gain is
> more than worthy the small speed loss.

I don't agree at all, sorry, but it wouldn't be a small loss. And you can
do that right now if you want by providing your own "virtualising" iterator.

> And I really (as in, *REALLY*) don't like static linking. To me, the
> micropain of dealing with POSIX regexps (and just calling C) is pretty
> much the same as the micropain of setting up the - I
> wouldn't bother with either if I can help it. :)

I don't agree with that either - it's no harder *at all* to link to an .a
file as it is to an .so file, and it's a whole lot safer IMO.

I would go further: You should only ever dynamically link to C++ libraries
if you really need to (for example if you want to share the code between
multiple shared libraries). Shared C++ libs are not at all like shared C

John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at