4 ms·
> This is a rather strange thing to bolt onto a language. It can just be an extremely fun and cute demo, without practical application.
by loeg 4y ago
> This is a rather strange thing to bolt onto a language.
It can just be an extremely fun and cute demo, without practical application.
- More-nitors 4y agohow about adding this to debuggers for better object-views? (could it be possible to provide near-js/python/java level of obj view?)
- gpderetta 4y agoThus is already using DWARF debug infos. Using this for debugging would be a long way around to arrive where you started You can already script gdb to provide rich views of any data structure.
- Deukhoofd 4y agoDWARF is a standard for data to support debuggers, so this crate does effectively the opposite: it uses info normally only available during debugging to provide reflection.
- jerf 4y agoIt can also be something that looks cool and doesn't necessarily ever get past "kinda works", but piques the interest of the core dev team and they take steps to make it work even better, resulting in the ultimate "deprecation" of this sort of thing by virtue of it being even better integrated into the core. I don't have the context to judge the probability of that in this specific case (lots of technical nitty-gritty comes in to this sort of thing), but I've certainly seen similar things happen in other communities.