Conclusion


Understanding the internals of any compiler always helps in writing good code. It also helps in troubleshooting, debugging etc. Sometimes while debugging, you might have to deal with disassembled code. If you understand the internals, then you can easily understand the disassembled code and your productivity will increase.

What Next?

To gain deeper understanding, you should start developing the habit of reading the code which is generated by C++ compiler. Here are two ways you can read the disassembled code:

Useful tools: ld, objdump, readelf, objcopy, nm, strip, ldd.


Feedback

Please let me know your feedback about the whole article. I can be contacted on my Gmail id rajeevku02.


up

Want to learn (C/C++ internals) directly from the author using video call? Learn more

Do you collaborate using whiteboard? Please try Lekh Board - An Intelligent Collaborate Whiteboard App