Re: Why We Should Use the STL (fwd)


Subject: Re: Why We Should Use the STL (fwd)
From: sam th (sam@uchicago.edu)
Date: Sun Jun 04 2000 - 07:22:42 CDT


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

On Sun, 4 Jun 2000, Martin Sevior wrote:

> Just to add some more background to this. The BELLE experiment to search
> for CP violation in the neutral B-meson system, of which I'm member (see
> http://bsunsrv1.kek.jp) makes extensive use of the STL in our analysis
> code. This code runs on Linux, Sun and DEC alpha's using the gcc C++
> compiler. Why don't use the Vendor compilers on the Sun and Alpha's?
> Because slight differences in interpreting C++ semantics amongst the
> compilers two years ago meant the code didn't work.

That sounds really cool.

>
> The BELLE analysis code is over an order of magnitude larger than abiword.
> A full compile from scratch takes about an hour on a dual 400 Mhz PII.
> Abiword takes about 2 minutes. The Libraries built are about 2 Gigabytes
> of binaries. Admittedly a lot of the code is old Fortran accumulated over
> the last 3 decades in beautiful open source fashion. Still there is a lot
> of C++ STL stuff too.
>
> Now it might be that the Vendor compilers from Sun and DEC may now work
> the same as gcc but we don't know because no one has the time to test,
> debug and tweak in the inevitable issues. I think I'd rather Sam worked on
> his xhtml importer than sort out STL issues between VC and gcc (the main
> two compilers), but hey, this is a GPL program and Sam can do what he
> likes :-)

Well, that's the beauty of free software, isn't it. :-)

Seriously, though, I'm still working on the XHTML importer, but not as
much. The sourcegear people seem committed to 1.0 in the next few months,
and I'd like to help them get that done (and I really like playing with
gdb). But changing the vector implementation to the STL would be really
easy. All of our functions would just be wrappers around STL functions,
which would be pretty easy to code.

           
                                     sam th
                                     sam@uchicago.edu
                                http://sam.rh.uchicago.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5OkoUt+kM0Mq9M/wRAuNVAKCVOij2ak30HuxonM+K2tsJiL1tWgCdGEyv
Rr6qQ3/aZOjs48KPq/LqsT4=
=/lUd
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Sun Jun 04 2000 - 07:24:37 CDT