Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2002 13:42:41 -0800
From:      Tim Kientzle <kientzle@acm.org>
To:        Terry Lambert <tlambert2@mindspring.com>, current@freebsd.org
Subject:   Re: [PATCH] note the __sF change in src/UPDATING
Message-ID:  <3DCADE51.2090607@acm.org>

next in thread | raw e-mail | index | archive | help
Terry Lambert asked:

> Any chance we could get rid of all externally visable symbols that
> are not defined as being there by some standard, and not just __sF,
> since we are breaking the FORTRAN compiler and other third party
> code already?

This cannot be entirely done if you still want to
manage library bloat.  In short, library routines
have shared interfaces between them---common variables
or common functions---that are internal to the library
and should not be used by applications.

To avoid this, you would have to bundle library functions
together, which causes bloat.  Worse, you would have to
avoid or drastically limit your use of macros.  (Any
macro that uses one of these internal symbols generates
a dependency in the compiled application.)

It _would_ be a good idea to document any internal library
symbols used by macros.  Removing such symbols is a
good way to break existing compiled applications.

Library design involves a lot of tradeoffs.

Tim Kientzle


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DCADE51.2090607>