Conclusion


Understanding the internals of any compiler always helps in writing good code. It also helps in troubleshooting, debugging etc. Sometime 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. This is the first time I am publishing something on Internet also this is the first time I am writing something (online article). So expecting many errors. I can be contacted on my Gmail id rajeevku02.


up