Log In | Sign Up | Help
Transparent

bagsta's documents Rss

Folder_24x24 eventhelix.com

Preview Star_faded

Optimizing C and C++ Code

Embedded software often runs on processors with limited computation power, thus optimizing the code becomes a necessity. In this article we will explore the following optimization techniques for C and C++ code developed for Real-time and Embedded Systems. 1. Adjust structure sizes to power of two 2. Place case labels in narrow range 3. Place frequent case labels first 4. Brea...
  • Pdf_16x16 6 Pages
  • bagsta uploaded this 6 months ago
  • 1425 views
  • 0 Comments
Preview Star_faded

Object Oriented Programming in C

Embedded software development is slowly moving towards object oriented analysis, design and programming. The introduction of object oriented technologies in some systems has not happened due to lack of C++ support on some platforms. This article focuses on platforms where C++ compilers are not available. The developers working on these platforms should still be able to use object oriented an...
  • Pdf_16x16 9 Pages
  • bagsta uploaded this 6 months ago
  • 506 views
  • 0 Comments
Preview Star_faded

C++ vs C Performance Comparison (Virtual Functions, Inheritance)

This section presents the C++ code for a typical virtual function invocation scenario. This is then compared to the equivalent C code.
  • Pdf_16x16 9 Pages
  • bagsta uploaded this 6 months ago
  • 702 views
  • 0 Comments
Preview Star_faded

C++ vs C Comparing C and C++ Performance (C++ Internals)

In the first article in this series we will look at the performance impact of C++ method invocations. This comparison will be carried out by first comparing C++ code and its C equivalent.
  • Pdf_16x16 5 Pages
  • bagsta uploaded this 6 months ago
  • 699 views
  • 0 Comments

All Documents

Folders