7VARIABLES IN A HIGH-LEVEL LANGUAGE
This chapter explores the low-level implementation of variables found in high-level languages. Although assembly language programmers usually have a good feel for the connection between variables and memory locations, HLLs add sufficient abstraction to obscure this relationship. We’ll cover the following topics:
The runtime memory organization typical for most compilers
How the compiler breaks up memory into different sections and places variables into each
The attributes that differentiate variables from other objects
The difference between static, automatic, and dynamic variables
How compilers organize automatic ...
Get Write Great Code, Volume 2, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.