Compile-time Code Generation
← Back to Macros
Generating code during compilation rather than at runtime. Macros in Lisp transform S-expressions, Rust’s procedural macros manipulate token streams, and Elixir macros operate on the AST. Compile-time generation avoids runtime overhead while enabling powerful abstractions.