DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
The Design of C++ Standard Components

Executable size

Large executables are bad for many reasons. They cause excessive paging of program text on virtual memory systems. In embedded microprocessor-based systems with small memories, it may be impossible to load them. Finally, large executables take up disk space.

Unfortunately, most users have come to view large executables as a fact of life in software built from reusable components, particularly components built from highly-coupled collections like the NIH Class Library. This section explains three techniques we have used to deal with this problem:


Next topic: Minimizing inlines
Previous topic: Breaking up large header files

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005