programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
fettuccinecode to Rust · 2 years ago

Object Soup is Made of Indexes

jacko.io

external-link
message-square
8
link
fedilink
17
external-link

Object Soup is Made of Indexes

jacko.io

fettuccinecode to Rust · 2 years ago
message-square
8
link
fedilink
  • Anders429
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    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

    • huntrss@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Thanks

    • oconnor663
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      That same keynote is linked in the last paragraph! :) The slotmap crate is also one option for generational indexes.

      • Anders429
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Ah, you’re right! Somehow I missed that, good catch.

Rust

rust

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 59 users / week
  • 395 users / month
  • 2.92K users / 6 months
  • 1.5K local subscribers
  • 7.14K subscribers
  • 1.04K Posts
  • 4.88K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • kahnclusions
  • torcherist
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org