Articles by tag: cpp
Event-driven programming on Arduino: patterns and examples
How to transfer event-driven architecture from enterprise to embedded. Code examples, advantages and limitations of EVA Core. Learn when to apply the approach.
GCC folds x/x to 1 on division by zero
Analysis of why GCC optimizes x/x to 1 even when x=0. UB, volatile, comparison with MSVC. For C++ developers: how to avoid and test.