On Thu, 5 May 2016, Alan Somers wrote:

On Thu, May 5, 2016 at 10:31 AM, John Baldwin <j...@freebsd.org> wrote:

On Wednesday, May 04, 2016 10:34:11 PM Alan Somers wrote:
...
Log:
  Improve performance and functionality of the bitstring(3) api
...
Doesn't switching from bytes to longs break the ABI?  That is, setting bit
9
...
Is the API is so little used we don't care?

The API isn't used in any shared libraries, so the only risk would be if
it's used in a user application where the user's build system doesn't check
for changes in system libraries, and the user upgrades FreeBSD without
doing a clean build of his application, right?  Am I missing any other
scenarios?  Do we need to warn users with a line in UPDATING or something?

All scenarios where the binary format is used for data layouts that live
for more than a few microseconds.  Little things like file systems and
networks.

This is similar to an upgrade of the C++ compiler.  C++ objects built by
different minor versions of the compiler aren't guaranteed to be compatible.

So C++ is also unsuitable for little things like file systems and networks
:-).

Bruce
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to