fettuccinecode@programming.dev to Rust@programming.dev · 1 年前Object Soup is Made of Indexesjacko.ioexternal-linkmessage-square8fedilinkarrow-up118arrow-down11
arrow-up117arrow-down1external-linkObject Soup is Made of Indexesjacko.iofettuccinecode@programming.dev to Rust@programming.dev · 1 年前message-square8fedilink
minus-squarehuntrss@feddit.delinkfedilinkarrow-up3·1 年前Interesting. Can you provide a good link regarding generational index?
minus-squareAnders429@programming.devlinkfedilinkarrow-up3·1 年前I was originally introduced to the idea by this RustConf 2018 keynote: https://kyren.github.io/2018/09/14/rustconf-talk.html. It’s rather dense though. I did find this random article that outlines just the concept of generational indices pretty concisely: https://lucassardois.medium.com/generational-indices-guide-8e3c5f7fd594
minus-squareoconnor663@programming.devlinkfedilinkarrow-up2·1 年前That same keynote is linked in the last paragraph! :) The slotmap crate is also one option for generational indexes.
minus-squareAnders429@programming.devlinkfedilinkarrow-up1·1 年前Ah, you’re right! Somehow I missed that, good catch.
Interesting. Can you provide a good link regarding generational index?
I was originally introduced to the idea by this RustConf 2018 keynote: https://kyren.github.io/2018/09/14/rustconf-talk.html. It’s rather dense though.
I did find this random article that outlines just the concept of generational indices pretty concisely: https://lucassardois.medium.com/generational-indices-guide-8e3c5f7fd594
Thanks
That same keynote is linked in the last paragraph! :) The
slotmap
crate is also one option for generational indexes.Ah, you’re right! Somehow I missed that, good catch.