NeverSawUs

Reading…

A Mirror for Rust: Compile-Time Reflection Report - Shepherd's Oasis

A Mirror for Rust: Compile-Time Reflection Report - Shepherd's Oasis

A long read, but a good read. Covers the use of syn and reflect in the Rust ecosystem, what those tools are in reaction to, and the limits of that pattern. Proposes a compile-time reflection system with low- and mid-level APIs that would (in theory) allow Rust to get away from the widespread peer dependency on serde. Linked terms include:

Tags: #rust #metaprogramming #reflection #introspection