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.....
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
Member for 5 years, 1 month
0 profile views
Last seen Jul 16 '16 at 1:48
- Stack Overflow 3.7k 3.7k 1515 silver badges4949 bronze badges
- Electrical Engineering 328 328 22 silver badges1414 bronze badges
- Mathematics 311 311 11 silver badge99 bronze badges
- Super User 263 263 11 silver badge1111 bronze badges
- Science Fiction & Fantasy 205 205 11 silver badge88 bronze badges
- View network profile
Top network posts
- 36 Does sizeof(T) == sizeof(const T) and alignof(T) == alignof(const T)
- 23 Define a new type of memory
- 17 C++ Volatile Placement New
- 12 Compiler can't deduce the return type?
- 12 Two Programs having their StdIn and StdOut tied
- 11 Constant value changing
- 11 std::function const correctness
- View more network posts →