Alternatives
Products that do what Inception: Automatic Rust Trait Implementation by Induction does
Hi HN, I thought this would be a good place to share a little puzzle I've been working on. Inception is a Rust library that helps you share behaviors in Rust using structural induction. Practically, this means that instead of having a derive macro for each behavior, a single derive can be used to enable any number of behaviors. It doesn't do this using runtime reflection, but rather type-level programming - so there is monomorphization across the substructures, and (at least in theory) no greater overhead than with macro expansion. While there are a lot of things missing still and the…
- Not indexed yet — check back in a few minutes.
Ranked by how close each launch is in meaning, then by votes. Refine with a description →