I understand that this can be subjective, so ask a specific question, but first: background:
I have always been an embedded software engineer, but usually at level 3 or 2 of the OSI stack. I'm not really a guy. In general, I have always made telecommunication products, usually hand-held / cell phones, which usually means something like an ARM 7 processor.
Now I am in a more general embedded world, in a small launch, where I can go to "not very powerful" processors (there is a subjective bit) - I can not predict which one.
I read a lot about the debate about exception handling in C ++ in embedded systems, and there is no clear answer. There are a few minor worries about portability and a few about runtime, but basically it looks like code size (or am I reading the wrong debate?).
Now I have to decide whether to use or refuse to handle exceptions - for the whole company forever (it is included in some very strong s / w).
It might seem like “how long has it been part of the string”, but someone might answer “if your piece of string is 8051 then no. If OTOH, this is ...”.
Which way am I jumping? Super safe and lose a good feature or exclusive code and possibly run into problems later?
c ++ exception exception-handling embedded
Mawg Feb 09 2018-10-09T00 : 00Z
source share