Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Variables and Scopes

Variables are named pointers that point to data in the call stack or the heap.

Scopes are boundaries defined by functions (including anonymous ones), enums, unions, structs, or classes.

Vega takes a simple yet robust approach to both variables and scopes, ensuring behavioral correctness and type safety.