Re: Squid 3 development open

From: Joe Cooper <joe@dont-contact.us>
Date: Thu, 17 Oct 2002 04:21:08 -0500

Robert Collins wrote:
> On Thu, 2002-10-17 at 18:47, Joe Cooper wrote:
>
>
>
>>>What about "not to use templates and STL" ?
>
>
> Actually, I expect template use to increase relatively soon. templates
> are *very* *very* *very* useful. Parameterised types make things like
>
> lists, heaps, vectors typesafe without having multiple inheritance (not
> really appropriate for list management) or typecasts, or inexplicable
> fields at specific locations in structures.

I've always been for templates and leveraging existing code where
reasonable (i.e. STL and Boost seem like great places to borrow a
stepladder), but I recall Alex and Henrik both had some well-reasoned
comments opposing their usage.

My thought is that since GCC is free, and overall close to excellent,
and has no problems with STL/Boost or templates in any way used by those
libraries, I see no strong reason to hold back Squid usage of those
techniques in order to avoid breakage on inferior compilers. My feeling
is that these issues are working themselves out in the other compilers,
and it is unlikely to be a major issue in a year or so when Squid-3 with
templates/STL/etc. becomes the stable Squid.

But I'm not going to be the primary author of the code, so I won't make
any statement more strongly than that.

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Thu Oct 17 2002 - 03:20:03 MDT

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