Awesome article, thanks for that. As someone who almost never even looks at C code, this was very understandable with the inline comments.
What's the reason for using macros instead of real functions? Is this an optimization because macros get inlined at compile time? Does this really bring a lot of value?
What's the reason for using macros instead of real functions? Is this an optimization because macros get inlined at compile time? Does this really bring a lot of value?