This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Proposal for printf functionality enchancement
- From: Daniel Jacobowitz <drow at false dot org>
- To: James Antill <nevyn-glibc-alpha at and dot org>
- Cc: sqweek <sqweek at gmail dot com>, libc-alpha at sources dot redhat dot com
- Date: Tue, 18 Oct 2005 11:32:15 -0400
- Subject: Re: Proposal for printf functionality enchancement
- References: <140e7ec30510180144n6017780cq@mail.gmail.com> <m3u0fex4hv.fsf@code.and.org>
On Tue, Oct 18, 2005 at 10:51:40AM -0400, James Antill wrote:
> > So, I'm curious whether there exists any glaring issues which make
> > this impossible or impractical or undesirable. Performance hit? Leaves
> > the API too exposed? Increased code footprint? Just Not Worth
>
> Static format checkers, like GCC, see:
It's also a pretty unpleasant optimization barrier. Compilers can
assume that printf does not modify global data - except for printf
implementations which support user callbacks.
--
Daniel Jacobowitz
CodeSourcery, LLC