Re: refcounted buffers / squid-3

From: Alex Rousskov <>
Date: Wed, 11 Jul 2001 08:00:54 -0600 (MDT)

On Wed, 11 Jul 2001, Henrik Nordstrom wrote:

> Personally I am pretty much neutral on the C++/C issue, but I see some
> benefits in using C++ compared to C.

IMO, the reasons to use a better language are exactly the same as the
reasons for redesign: one should do it when it becomes prohibitively
expensive emulating better language features using the old code. I do
not know if Squid reached that stage, but we are definitely emulating
a lot of C++/OO concepts in Squid.

The drawbacks of using a better language are exactly the same as the
reasons for avoiding redesign: big changes make most humans
uncomfortable and might kill the project before the benefits of
redesign are realized.

Finally, I do believe that C++ is better (in Squid context) than C.
C++ is far from perfect, but is probably the best language we have
available on the majority of platforms folks care about. Again, I do
not know if C++ is better "enough" to warrant its use, given current
Squid developers background and preferences.


Received on Wed Jul 11 2001 - 08:00:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:06 MST