Have you ever had luck/cry/luck to maintain C++ ABI compatibility between different linkable codebases, and found it fun? 🙂
The more I worked with C, the more quirks popped up. Some fun, some not-so-much.
This text is a must read to anyone trying to maintain compatibility between platforms with useful insights from the wild.
And very rare praise to Microsoft as de-facto kings in platform backward compatibility.
While we are still on C language and its quirks, what
??!??! operator does in C? 🙂
I would not be surprised if this popped up as a question on ‘good’ interviews, which I would like to steer clear.
I came across this tool long time ago and found it quite handy, especially when working in C++ codebase.
Why? It has potential to one-time reduce your compile time insanely, by just removing include lines that have zero references from current code.
This is quite handy in C++ to limit number of translation units to be compiled, especially when small change in one header triggers big-but-unnecessary re-compilation chain.
And there is insane amount of header-only libraries or code-heavy headers that will exponentially fast increase compile time if not being careful what you include.
Interesting opinion about staying relevant with FOSS.