Hacker News new | ask | show | jobs
by MaxBarraclough 2016 days ago
> The only magic is around format string checking

Also the compiler is likely to optimise most calls to printf, transforming them into calls to other functions like puts [0], or apparently [1] even to fwrite. Probably doesn't count as magic, but almost.

[0] https://stackoverflow.com/q/44406798/

[1] https://news.ycombinator.com/item?id=23308893