• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: September 22nd, 2023

help-circle







  • About ten years back, I had moved away from home and was living in a small town with no Internet in my apartment. The only internet connection I had was the local library.

    I remember being so surprised at the amount of viruses on those dumb computers. I wondered what the heck people were doing to them to get them in that state, and then one time I saw some dude looking up porn and just downloading whatever programs the pages he came to told him to.

    Anyway, I’m glad I have Internet in my apartment now.










  • If you want to go one step further, a lot of game development uses a generational index, where the index is both a value and a generation, allowing you to know whether the index you currently have stored references an object that has already been destroyed and replaced by another object. Basically every ECS framework I’ve ever seen uses this pattern.