public inbox for c++-embedded@sourceware.org
 help / color / mirror / Atom feed
From: "Kenneth Porter" <shiva@well.com>
To: "Embedded C++" <c++-embedded@cygnus.com>
Subject: iostreams (was template bloat)
Date: Thu, 27 Aug 1998 16:40:00 -0000	[thread overview]
Message-ID: <199808272340.TAA21451@mail1.ispnews.com> (raw)

On Thu, 27 Aug 1998 13:04:18 +0200, Michael Bruck wrote:

>I know I have always negative examples ... but first thing I noticed when I
>tried to use the STL for embedded modules was that there are some
>places where it uses iostreams. (f.e. in the new operator). Thats why I
>had to modify (means remove) some things to work without them. I have 
>not yet looked at the impact that it has on code size and placement.

What impact does iostreams (classic or STL) have on code size, as
compared to stdio? I'm sure most of us cut our teeth on printf and find
stream inserters to be difficult to get used to, but they have the
benefit of adapting to new types by defining an inserter for the new
type, and printf lacks a mechanism for automatically type-checking its
parameters and making sure the right number were passed. What cost must
we pay for the convenience of type-safety?

Ken
mailto:shiva@well.com
http://www.well.com/user/shiva/

http://www.e-scrub.com/cgi-bin/wpoison/wpoison.cgi (Death to Spam!)


             reply	other threads:[~1998-08-27 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-27 16:40 Kenneth Porter [this message]
1998-08-27 17:36 ` Chris Johns
1998-08-27 20:59 Kenneth Porter
1998-08-28  5:55 P.J. Plauger
1998-08-28 19:08 Michael Bruck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199808272340.TAA21451@mail1.ispnews.com \
    --to=shiva@well.com \
    --cc=c++-embedded@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).