Sign in to follow this  
staticVoid2

c++, low level

Recommended Posts

staticVoid2    381
hi, I was wondering if anyone had any links to articles, text, about how high level languages are compiled and what happens when they are executed at a low level, like where class member variables reside in memory ,how data is copied from parameters at function calls to the stack, how/where functions are stored things like this.

Share this post


Link to post
Share on other sites
SiCrane    11839
Most explanations of how C++ is implemented are explained in terms of how it would be implemented in terms of C structures and operations, and assume that you know how those C structures and operations would be implemented in terms of the machine. For those kinds of discussions you can look at Lippman's "Inside the C++ Object Model" and "The Design and Evolution of C++" by Stroustrup.

Understanding how the functions are implemented, data is encoded and other lower level details is the province of computer architecture books, such as any of the books with "computer architecture" in the title by Hennessy and Patterson. Specifics for operating systems like how the PE image is laid out for Windows is generally available from the OS manufacturers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this