Sebastien Alaiwan wrote:

On Wednesday, 21 June 2017 at 05:35:42 UTC, ketmar wrote:
asserts on embedded systems? O_O code built without -release for embedded systems? O_O

embedded system != production system.

You still need to debug the code, and at some point, you have to load it on a real microcontroller ; this is where some of your assumptions about how the chip works might turn out to be false.

as i said, in "betterc" mode compiler can omit generation of assert condition strings.

but refusing to generate such strings for *all* code in favor of embedded cases is like "let's remove classes and exceptions from D, 'cause they're too costly for embedded code!"

Reply via email to