Take advantage of the Sun C++ Compiler, an optimizing, native compiler that closely follows the emerging ANSI C++ language definition. Make significant improvements in your program execution speed by using the variety of techniques the C++ compiler offers.
In addition to fast compilation and execution of program code, the Sun WorkShop Compiler C++ gives you the following features:
Native C++ compiler
Incremental linker (ild) to reduce link time
Sun WorkShop Memory Monitor to solve memory management problems
Exception handling for improved error handling
Fast template instantiation
Tools.h++ class libraries
Once a debugging session is completed, you can rebuild your application using the incremental linker. You can test the changes to your application more quickly because the incremental linker reduces the time necessary to relink an application. Only the changed .o files are linked into the previous executable to create a new executable file. Using the incremental linker, the time it takes to rebuild an application after a change is proportional to the magnitude of the change rather than to the total size of the application.
A significant addition to this release is the Sun WorkShop Memory Monitor, an automatic memory manager for C++ and C. With this feature, you can prevent memory leaks from occurring simply by relinking your program.
Sun WorkShop Memory Monitor automatically frees up leaked memory. Using this tool, you can write new programs without calling free or delete, and you can automatically fix memory errors in existing programs, even those that use third-party libraries.
You can also monitor your memory usage from within your browser and identify how much memory each part of your program is using at any time.
Sun WorkShop Memory Monitor also has a web interface that allows remote debugging. You can debug programs that exhibit memory problems in the field, but cannot be reproduced in house.
Take advantage of the wide range of options offered with Sun C++ compilers to manage code and application performance. Specify the -O option to optimize and improve the execution of your program. Balance performance gain, code size, and compilation time through efficient use of -O levels.
C++ class libraries are modular components of reusable code. Use class libraries to integrate blocks of code that have been previously built and tested. The C++ class libraries include:
Task library
Complex library
Standard C++ Library
Multithreading-compatible iostream library (libC)
Save programming time with Tools.h++, the C++ foundation class library, a set of classes that are useful for essentially any programming task. Tools.h++ includes:
Full set of reusable classes
Full set of template classes
Precondition checking for development time
Persistent store
As a de facto industry standard, Tools.h++ has been included with a wide variety of compiler products. Consequently, Tools.h++ is available on all UNIX platforms.