C++0x library ABI

Ulrich Drepper drepper@redhat.com
Fri Jul 17 15:36:00 GMT 2009


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

Jason Merrill wrote:
> 1) Any plans to move to non-refcounted strings at some point?
> 2) LWG is moving this week to require container size() to be O(1), which
> is not true of our std::list.

The second item is certainly something that can be implemented using
namespace tricks or with symbol versioning.  The first is optional.

It is a humongous cost to break the ABI.  I really don't want it to
happen unless the world comes to an end if it's not done.

If C++ wants to be taken serious its developers must stop regarding ABI
breakage as a cavalier's delict.  It isn't.  To the contrary.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpgmnUACgkQ2ijCOnn/RHQBGgCgpXnpORTBnyP0qFbrQ+VXxWW3
/b4AoIwHuxEQ+dIoeAN5o6UbEJn03B7o
=yc1R
-----END PGP SIGNATURE-----



More information about the Libstdc++ mailing list