This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: demengler in libstdc++ is changed


>> Many C++ runtime implementors have reached the conclusion that the C
>> runtime is far more efficiently and effectively implemented on top of
>> C++ (rather than the inverse); however that idea seems to meet
>> (non-technical) resistance (I have no workable theory of why).

> Well, one obvious reason is that not all C programmers want to learn
> C++.

Presumably if they are working on the C++ demangler, they know C++.

> But if you can get a smaller executable size when doing a static link,
> then I think it should be seriously considered.  If you can't, then it
> should not be considered.

LLVM has a variety of link-time optimizations for reducing both code and
data size.  Even trivially simple techniques like interprocedural constant
propagation can make a huge difference... when statically linking, we can
specialize all of libstdc++ just for the program.  :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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