News for hackers. Stuff that matters.
Re:Object Soup Is Made of Indexes (Rust) by chickenchicken on Tuesday October 24, 2023 @04:37AM (#37996314)
Now you need a garbage collector for your indices and have reinvented object oriented programming via references.

That’s not a bad thing

Re:Object Soup Is Made of Indexes (Rust) by oconnor663 on Tuesday October 24, 2023 @04:55AM (#37996446)
I'd love to know more about how different games deal with deletion. Like I assume some (most?) allow generational indexes to dangle, and so any lookup might fail or return null or something. But maybe others try to aggressively clean up dangling references, and their lookup API tries to be infallible? I have no idea! :)