DarthRubik's user avatar
DarthRubik's user avatar
DarthRubik's user avatar
DarthRubik
  • Member for 6 years
  • Last seen more than 4 years ago
  • Wisconsin, USA
About

Hello.....I am an embedded developer (by that I mean ~3k of RAM and ~200k of program memory), and I use a subset of c++ as my preferred language in that domain (If you are shocked by that and want to argue with me about that see rant bellow).

I love the low level programming, but I also love the ability to abstract the hardware away that c++ gives you.....

<rant>

Please don't tell me that c is far superior to c++ in this domain because I can do everything that you can do in c in c++ (but better). And yes I am aware that the standard library uses heap allocation and whatnot (I never said I used the standard library).

Obviously, I cannot program c++ like I would for a desktop machine (you cannot program in c like your programming for a desktop machine either). I only use the feature of c++ that are useful to embedded.....the most notable exclusions are:

  • No dynamic memory
  • No virtual functions (or judiciously and in non critical code paths)
  • No exceptions

</rant>

Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
4
bronze badges
Top tags
3
Score
1
Posts
100
Posts %
3
Score
1
Posts
100
Posts %
Top posts