Rust 112 🦀 Building Zero-Cost Abstractions for Domain-Specific Engines
A domain-specific engine is a program that interprets or executes a narrow language: a query planner, a rules engine, a state machine interpreter, a calculation pipeline. The abstraction that makes it expressive is usually a trait or an enum representing the language’s operations, and the abstraction that makes it fast is monomorphization. The goal is…