Results 1 - 10 of 13
|
Articles/C/C++
Author:Administrator
"Deterministic dynamic memory allocation & fragmentation in C & C++"
Published January 2010
In C and C++, it can be very convenient to allocate and de-allocate blocks of memory as and when needed. This is certainly standard practice in...
|
|
Articles/C/C++
Author:Administrator
"Variations on a flexible array theme"
"Different dialects of C and C++ support different forms of flexible array members. Unfortunately, the more expressive forms are the less portable ones."
...
Web page link
|
|
Articles/C/C++
Author:Administrator
Interrupts in C++
"An ideal C++ device driver would be a class containing, among other things, the ISR as a member function. But this is harder to achieve than many C programmers assume."
Read more web page link
|
|
Articles/C/C++
Author:Administrator
Register Access in C++
"Embedded programmers traditionally use C as their language of choice. And why not? It's lean and efficient, and lets you get as close to the metal as you want. Of course C++, used properly, provides the same level of...
|
|
Articles/C/C++
Author:Administrator
"Guidelines for using C++ as an alternative to C in embedded designs"
"Embedded software applications are most commonly written in C. For many years, C++ has been seen as the natural successor and has found greater acceptance, but the increase in...
|
|
Articles/C/C++
Author:Administrator
Making the transition from C to C++
"The transition from C to C++ has been less rapid than expected a decade ago, but the language is now beginning to gain ground. As a result, many embedded software teams are considering the matter of migration...
|
|
Articles/C/C++
Author:Administrator
Demystifying constructors
"One of the easiest ways to misuse a structure object in C is to fail to initialize it properly. In C++, a class can have special member functions, called constructors, that provide guaranteed initialization for objects...
|
|
Articles/C/C++
Author:Administrator
Seventeen steps to safer C code
Great reading before going to the CPA (C Programmers Anonymous) meeting and getting to know some MISRA C.
"In embedded systems design, many of us tend to write our software in C the way our "grandfathers" did,...
|
|
Articles/C/C++
Author:Administrator
Cheap Threads
"I first ran into protothreads when I was looking at the ConTiki operating system and the related uIP stack. Both ConTiki and uIP use protothreads. As you might expect, the protothread library is a way of implementing threads, but...
|
|
Articles/C/C++
Author:Administrator
C++ clear winner in Google language tests
PDF document link
"We find that in terms of performance, C++ wins out by a large margin,"
"However, despite C++ trumping the others in performance, Google also suggests that it requires the "most...
|
Page 1 of 2