[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Python + GEM
Hi,
On maanantai 08 elokuu 2011, m0n0 wrote:
> Am Sonntag, den 07.08.2011, 23:16 +0200 schrieb Mariusz Buras
> <mariusz.buras@gmail.com>:
> > We nee more modern technologies in our obscure and outdated API's.
> >
> > I'm dying for a decent c++ gem framework. Something like WxWidgets
> >
> > Have you had a look at gem++?
>
> I'm using my own C++ wrapper for WinDom... but I'm a little bit
> disappointed by code size... The Object files of my project take around
> 50k ... But the resulting executable is 600k ... (no debug symbols
> included).
Do you have a lot of templates or inlined methods?
Or use such from the standard headers?
Also if you do a lot of inheriting from large classes, note that all
the classes contain all the members from everything above in your
inheritance tree (at least with GCC generated code) whereas in C
typical C-code just a pointer to parent "class" is used.
> I'm only linking to WinDom and mintlib, that's all.
Which libstdc++ library is used on MiNT? At least the one coming with
GCC on Linux did also huge static binaries few years ago because you
could easily get all of the iostreams stuff linked in if you output
anything with it.
I would guess that by using plain stdio you could reduce the binary
size a lot.
- Eero