Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



> Does this really bring a lot of value?

In this particular case, none whatsoever. It’s egregious abuse of macros.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: