u/mttdin r/ProgrammingLanguages • Recommends
Back to Basics: The (C++) Abstract Machine - Bob Steagall - CppCon 2020
189K subscribers • 101 videos on Hallway • Conference channel
Intermediate. Assumes working knowledge.
73K views6 years ago1 recommendation
Programming languagesSystems programmingC++Compilers and interpretersPerformance and optimization
Bob Steagall introduces the C++ abstract machine, explaining how the compiler models programs and enforces language rules.
cppcon.org/ github.com/CppCon/CppCon2020/blob/main/Presentations/back_to… --- The compilation of every C++ program is controlled by a little-known device that remains mysterious, or even unknown, to many programmers: the C++ abstract machine. When a program is compiled, the abstract machine constructs and expresses the compiler's "mental model" of that program. It is responsible for enforcing all of the rules governing C++ programs, and ensuring that programs execute properly when those rules are observed. What's more, the abstract machine is often quite different from the physical machine, and the difference between the two can be confusing at first. The goal of this talk is to provide an introduction to the C++ abstract machine and describe its relationship to the C++ language, how it influences the way we think about coding in C++, and its relationship to the underlying hardware upon which C++ programs execute. If you were previously unaware of the abstract machine, or have only a vague notion of what it is, then this talk is for you. Attendees will leave this session with a basic understanding of what the abstract machine is, its conception of memory, its relationship to hardware, undefined/unspecified/implementation-defined/observable behavior, and the "as-if" rule. --- Bob Steagall Chief Cook and Bottle Washer, KEWB Computing --- Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Streamed & Edited by Digital Medium Ltd - events.digital-medium.co.ukevents@digital-medium.co.uk *-----* Register Now For CppCon 2022: cppcon.org/registration/ *-----*u/mttdin r/ProgrammingLanguages • Recommends
u/The_JSQuareDin r/compsci • Mentions
On “What are terms to call pieces in syntax and in semantics in a programming language?”