Get the latest tech news
Rust, Reflection and Access Rules
mething a lot of people wish the Rust language had: It is not hard to stumble across somebody with an interesting use case for it. People want to use it for serialization, GCs, better interop, and so, so much more.
This feels a bit flimsy(people can forget to mark a field unsafe), and will not work with code written before that feature gets stabilized. There could exist some kind of crate that makes this process easier, but I still feel like the complexity of reflection rears its ugly head here too. Sometimes, I feel like attempting to add reflection to Rust is kind of like trying to cover a table with too small of a tablecloth: you always end up sacrificing something.
Or read this on Hacker News