Making Rtems Device Drivers using C?

Eric Valette eric.valette at free.fr
Tue Jan 4 21:32:25 UTC 2005


Angelo Fraietta wrote:

> Surely the overhead in C++ would only be if calls were being made to C++ 
> run time libraries from within the interrupt.

Have been responsible of ChoruOs/Jaluna C++ dev tools and depending on 
the feature you use, C++ can be seen as a strong type-checking C less 
with very limited overhead and about no runtime requirements.

If you start using rtti, exceptions, operator = overloading and abuse of 
copy constructor, then yes if may become quite hard to usdertand d what 
a single line statement does...

-- 
    __
   /  `                   	Eric Valette
  /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr






More information about the users mailing list