Click here to Skip to main content
15,888,047 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I really need to learn about how compilers work and their architecture.In this case I want to refer better Book related to C/C++ compilers(specifically Visual C++).Which books I should refer?Please mention their Title and Authors respectively. Thank you.
Posted

I would recommend http://www.learncpp.com[^].

From the printed books you could buy or borrow from a library, it would be good to have and read books by the C++ author Bjarne Stroustrup, http://en.wikipedia.org/wiki/Stroustrup[^]. They are not exactly too easy to read, but this way you can get familiar with the original rationale for the solutions taken, which is always very good to understand. You can also understand some C++ delicate and weird features and peculiarities.

—SA
 
Share this answer
 
Comments
Buddhi Chaturanga 9-Jun-14 2:39am    
These days I am referring "The C++ Programming Language -Fourth Edition" by Bjarne Stroustrup.
But It's not greatly explain some critical stuff with compiler side,I really want to learn C/C++ compiler design and Runtime checks(regarding Visual C++)

http://www.amazon.com/Advanced-Compiler-Design-Implementation-Muchnick/dp/1558603204
Visual C++ is not a language, or a compiler, it is an Interactive Development Environment (more properly called Visual Studio). However learning C++ is not going to help you understand how compilers work. See https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=compiler%20architecture[^].
 
Share this answer
 
Comments
Buddhi Chaturanga 9-Jun-14 21:47pm    
Thank you.. Thats what I meant too..
The classic book is the 'Dragon' one: "Compilers: Principles, Techniques, and Tools"[^].
I recommend also "lcc, A Retargetable Compiler for ANSI C"[^] that shows all the details of the construction of a real (C) compiler.
 
Share this answer
 
Comments
Buddhi Chaturanga 9-Jun-14 21:47pm    
Thank you very much

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900