{"ok":true,"trend":{"id":742669,"platform":"mastodon","region":"global","key":"molko is: - writing an ecs (ugh), - global entity id counter increments under a lock (what?!). \"i might create new ent","title":"@ molko is: - Writing an ECS (ugh), - Global Entity ID counter increments under A LOCK (WHAT?!). \"I might create new ent","url":"https://mastodon.gamedev.place/@Brahvim/117371406391089915","first_seen":"2026-10-02T14:17:17.789166Z","last_seen":"2026-10-02T17:01:29.061144Z","last_rank":12,"peak_rank":7,"last_volume":3,"peak_volume":3,"seen_count":3,"score":51.98,"category_hint":"software","section":"technology","category":"software","summary":"A developer known as Molko is building an Entity Component System and increments a global entity ID counter inside a lock, explaining the choice with the possibility of creating entities from multiple threads. A fellow game developer is publicly criticizing the approach, arguing it serializes entity creation one ID at a time, unlike graphics APIs such as glGenBuffers that can hand out several IDs in a single call.","why":"Programmers are debating thread-safety trade-offs in ECS architecture, a recurring hot topic in game development communities.","tone":"neutral","entities":["Molko","glGenBuffers","ECS"],"summarized_at":"2026-10-02T14:18:09.931075Z","meta":{"tag":"programming","via":"scan","kind":"status","lang":"en","instance":"mastodon.social","tag_uses":187},"nw":null,"promo":null,"kind":null,"importance":null,"hidden":false,"hide_reason":null,"judged_at":null,"title_en":"Developer's ECS entity ID locking design sparks debate","section_name":"Technology","category_name":"Software","timeline":[{"captured_at":"2026-10-02T14:17:17.789166Z","rank":7,"volume":3},{"captured_at":"2026-10-02T15:39:29.336393Z","rank":8,"volume":3},{"captured_at":"2026-10-02T17:01:29.061144Z","rank":12,"volume":3}],"posts":[{"platform":"mastodon","url":"https://mastodon.gamedev.place/@Brahvim/117371406391089915","author":"Brahvim@mastodon.gamedev.place","title":null,"snippet":"@ molko is: - Writing an ECS (ugh), - Global Entity ID counter increments under A LOCK (WHAT?!). \"I might create new entities on a new thread.\" ...*WHAT?* IT DOESN'T EVEN RETURN MULTIPLE IDs LIKE `glGenBuffers()`. It locks and outputs an entity ONCE per lock. ONCE PER LOCK! ...…","posted_at":"2026-10-02T12:52:12Z","likes":3}],"elsewhere":[],"window":"7d"}}