There are a lot of useful, short, technical articles on the SDN portal directed at the C and C++ programmer on Solaris.
This article gives an overview of the C-language extensions (part
of the GNU C-implementation) introduced in the Sun Studio 12 C
compiler. Although these extensions are not part of the latest ISO C99
standard, they are supported by the popular gcc compilers.
(June 13, 2007)
Ever wonder what's in a patch? Take a look inside a typical Sun
Studio compiler patch that includes updated C++ shared libraries.
(November 10, 2006)
The Sun C++ compiler ships with two libraries that implement the
C++ standard library: libCstd and libstlport.
This article discusses the differences between the two libraries and
explores the situations in which one library is preferred over the
other.
(May 17, 2006)
Hiding non-interface symbols of a library within the library makes
the library more robust and less vulnerable to symbol collisions from
outside the library. To get the appropriate linker scoping in a source
program, you can now use language extensions built into the Sun Studio
C/C++ compilers.
(May 17, 2005)
The author shows how a simple C++ program fails without language
linkage, but can succeed with proper linkage. (This article is on the
Solaris portal.)
(March 23, 2005)
In this test case, the DTrace capability in the Solaris 10 OS is
used to identify an error common to C++ applications -- the memory
leak. (This article is on the Solaris OS developer portal.)
(February 17, 2005)
The C++ language provides mechanisms for mixing code that is
compiled by compatible C and C++ compilers in the same program. You can
experience varying degrees of success as you port such code to
different platforms and compilers. This article shows how to solve
common problems that arise when you mix C and C++ code, and highlights
the areas where you might run into portability
issues.
(July 25, 2003)
This article discusses some of the runtime errors related to
memory management and how you can use the garbage collection library,
libgc to fix these errors. In most cases, just linking with the library
without making any changes to your code will fix the errors.
(July 25, 2003)
Using the restrict qualifier appropriately in C programs may allow the compiler to produce significantly faster executables.
(July 17, 2003)
A discussion of the evolution of the C++ Application Binary Interface, and its implications.
(March 20,2003)
Application software developers can learn to use the latest version of the Solaris OS while supporting previous versions.
(January 1, 2002)