Changes between Version 3 and Version 4 of TBR/UserManual/Using_C_Plus_Plus


Ignore:
Timestamp:
Oct 22, 2005, 3:38:09 AM (14 years ago)
Author:
ChrisJohns
Comment:

/* Size and Performance */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Using_C_Plus_Plus

    v3 v4  
    77= Size and Performance =
    88
    9 It is common to see comments made about the size and speed of C++ applications. Using C++ does not effect the performance of RTEMS or ther performance of accessing RTEMS services from C++. A C++ appication may result in a larger executable size as linking to the standard C++ library can pull in parts of the library, or using RTTI can result in extra data being including in the executable.
     9It is common to see comments made about the size and speed of C++ applications. Using C++ does not effect the performance of RTEMS or the performance of accessing RTEMS services from C++. A C++ appication may result in a larger executable size as linking to the standard C++ library can pull in parts of the library, or using RTTI can result in extra data being including in the executable.
     10
     11The GNU compiler for RTEMS is built using the RTEMS thread model. This means it is best you use an RTEMS built tool chain when using C++. The thread model in GCC lets applications operate in a thread safe manner. The compiler is built with low level calls to RTEMS mutex type resources it uses when performing thread safe operations.
    1012
    1113''More to come here.''