Re: STL revisited

From: Tres Seaver <tseaver@dont-contact.us>
Date: Sun, 03 Sep 2006 09:31:46 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> I'd like to raise the STL again as an option for squid3 rather than
> NIH'ing a whole bunch of core infrastructure.
>
> The STL, and boost:: - the STL's 'incoming pipeline' provides a tonne of
> really useful tools for efficient data implementations of trees, hash's
> etc etc etc.
>
> Last time the big concern was over readable compiler errors.
>
> I dont think that has improved hugely over the last 2 years, but I think
> that its a net win - there is usually a clear reason for the error if
> you read at the top, and the amount of code that we could delete, or
> stop writing, is huge.

+1 from me. The only drawback I know of is the possibility that a given
platform has no built-in STL, or only a crippled one. Even that should
no longer be a problem on any modern version of gcc (2.9.5 was the last
"weird" one I knew of.

Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+tlC+gerLs4ltQ4RAnL9AJ9DYOSBNR5sOpspsca/s4Jv3jewoACeOV9R
eB66mUfKe4XtvmyxY+7lruk=
=uvgP
-----END PGP SIGNATURE-----
Received on Sun Sep 03 2006 - 08:05:14 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT