Neil Hodgson wrote:
Robert Roessler:
* - I will need to see (or do) some more detailed analyses on the
actual generated code size (as distinct from the size of the new
libraries)... but while my example of a trivial app going up by
roughly 20 KB fits with my expectations of the new "safe" libraries,
83 KB for SciTE does NOT.
Some of the safety stuff is inline and you could try playing with
the /RTC* options. A quick google did not reveal much interesting
discussion of VS2005 executable bloat although there is some activity
on the tiny CRT library. Distributing with tlibc would worry me from a
safety point of view, particularly for the DLLs.
http://www.codeproject.com/useritems/tlibc.asp
Yup - this is just what I was hoping for - it gives one the ability to
create seriously SMALL exe files for trivial apps.
I have a trivial utility to enable translucency on the taskbar; with
vc 7.1, it was 28.5 KB. The same file ballooned to 47.5 KB under vc
8. With vc 8 + "Tiny LibC"... we have < 4 KB (including internal use
of atoi and printf)! :)
Indeed, with Scintilla/SciTE, it would not be appropriate for at least
two reasons: it is short on entry points, and it does not attempt to
address "safety" (which has practically become a "political
correctness" issue). ;)
In reality, with "libct.lib", you would not appear to be any less safe
than with the vc 7.1 libraries: everything is handed off to system
DLLs, which if implemented better themselves (in terms of things like
argument validation) would be fairly safe - especially with DEP.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest