>According to Dom Lachowicz <[EMAIL PROTECTED]>:
> >
> > Localizations and encodings add up. There is no reason for me to have 
>polish
> > strings and XPMs linked with my binary. gettext() or a similar system
> > (Java's MSGFormat comes to mind...) is good for this sort of thing.
> >
> > File formats also add up. But let's see what we're talking about:
> >
> > [dom@psk-60 xp]# wc -l ie_imp_*.cpp
> > 11061 total
>
>$ wc -l ie_impGraphic_JPEG.cpp ie_impGraphic_JPEG.h
>     389 ie_impGraphic_JPEG.cpp
>      80 ie_impGraphic_JPEG.h
>     469 total
>
>Is this bloat ? Note that these line includes lot of comments and the 
>Abisource
>copyright which is NOT short.

wc -l libjpeg/*.c libjpeg/*.h
Big number. Is this bloat? What about libpng and all of our code that 
specificall manipulates and operates on PNGs? The BMP importer too. How many 
of these low-level classes must we create ourselves and ship libraries with 
until people realize that this is the *wrong* solution?

If you want to learn libjpeg, this is a great exercise. If we take this 
approach, we basically become an ImageMagik or GdkPixbuf which is *bad* 
because Abi is a word processor and not a graphics library. Please don't 
forget this...

Dom

[plug]
wc -l GdkPixbufLoaderClass: 50
wc -l ImlibLoaderClass: 50
wc -l QuickTimeLoaderClass: 50
wc -l IEComLoaderClass: 50
wc -l BeosSystemLoaderClass: 50
...
[/plug]

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to