News for hackers. Stuff that matters.
Re:Native Reflection in Rust by jswrenn on Thursday December 15, 2022 @02:52PM (#34004720)
Absolutely! That's the approach that frunk [0] takes. Frunk (and other reflection libraries like it) are suitable for most use cases, and make better use of Rust's affordances.

My crate is suitable for cases where you cannot know (or control) the set of types you might need to reflect on in advance. It's primary use-cases are related to debugging.

[0]: https://docs.rs/frunk

Re:Native Reflection in Rust by halfmatthalfcat on Thursday December 15, 2022 @02:58PM (#34004807)
Is Frunk Rust's Shapeless (from Scala)?
Re:Native Reflection in Rust by jswrenn on Thursday December 15, 2022 @03:10PM (#34004973)
Yep!