2 ms·
I do know that it's possible, but when people complain about this --- as with this tweet, from a PL theorist: https://x.com/LParreaux/status/183970695068855508
by tptacek 2y ago
I do know that it's possible, but when people complain about this --- as with this tweet, from a PL theorist:
https://x.com/LParreaux/status/1839706950688555086 https://x.com/LParreaux/status/1839706950688555086
... this is what they're talking about.
(I know the tweet is about the "idiomatic" answer to this problem, which is to replace references with indices into flat data structures).
- cmrdporcupine 2y agoI don't have a twitter account and don't read links to paywalled services there, so don't know what the complaint is. Ergonomics aren't great for this type of problem, but it's something I almost never run into. Feels like a cooked up example. I've written tree data structures, etc. and never had much issue. ASTs for compilers, no particular drama. Rust is just making you consider whether you really want to do this, is all.