• Advertisement
Sign in to follow this  

c++, low level

This topic is 3591 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement