Using Classes - No Code Bloat

A project log for Embedding C++

C++ is an efficient language eminently suitable for use in embedded systems but some look for proof of the efficiency. This is the proof.

rud-merriamRud Merriam 11/06/2015 at 18:240 Comments

This article CODE CRAFT – EMBEDDING C++: CLASSES provides a short overview of C++ classes. It compares the code size for equivalent C and C++ versions of Arduino Uno and Due code. The finding is that classes do not increase the size of the code, which is what the article was intended to show.