This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Collation implementation


Hi,

--- Ulrich Drepper <drepper@redhat.com> schrieb:
> Get real.  You never ever want to base everything else on a C++
> library.  This is a horrendous stupidity.  C++ brings not only an
> unstable API, it also introduces a huge amount of overhead (code,
> data, initialization) and unstable APIs.

As I said, we don't share a common opinion and if the implementations
you have seen introduce huge amounts of overhead, I'm pretty sure that
you have not looked at all of them.

Especially for the locale and stream stuff I see huge benefits for the
approach I envision eg. the ability for the user to extend 'fprintf()'
and 'fscanf()' to use other external representation than only files
(eg. GUI windows, on-the-fly compressed files, etc.). Likewise, the C
locale mechanism cannot be modified by the user except via data files
not necessarily modifiable by all programs.

Even if my approach turns out to be inferior, I consider it premature
to accuse me of "horrendus stupidity" [because I consider this
appraoch; there might be other reasons] before it is shown that it is
indeed
inferior.

Regards,
  Dietmar


=====
<mailto:dietmar_kuehl@yahoo.com>
<http://www.dietmar-kuehl.de/>

__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]