Tag
code-generation
- Aug 15, 2026 Derive Macros and Structural Recursion Over Type Definitions How a derive macro walks a struct or enum field by field to generate implementations, what generic parameters and lifetimes force on the generated code, and why bound inference goes wrong. programming languages
- Jul 18, 2024 The Unbiased Pass@k Estimator for Code Generation Sampling k completions and checking whether any passes is a biased estimate of pass@k. The combinatorial correction, why it is needed, and how variance scales with the sample. inference systems
- Jun 28, 2024 Template Ownership When Scaffolding a New Service A generator produces a fork of the template the moment it runs. What that implies for update paths, three-way merges, and the split between generated and referenced configuration. devops
- Jun 5, 2024 Multi-Stage Programming and Cross-Stage Persistence How staged languages type the distinction between code and its generation, what run and splice mean at each level, and why a value captured at one stage must be embeddable in the next. programming languages
- Jan 30, 2023 Register Bytecode and Windowed Register Allocation in Lua How a register-based VM names operands inside a per-call window, why that cuts instruction count, and what the compiler must compute to keep the window small. programming languages