Lune

OOPSLA2025顶会

Exploring the Theory and Practice of Concurrency in the Entity-Component-System Pattern

Patrick Redmond, Jonathan Castello, José Manuel Calderón Trilla, Lindsey Kuper

摘要

The Entity-Component-System (ECS) software design pattern, long used in game development, encourages a clean separation of identity (entities), data properties (components), and computational behaviors (systems). Programs written using the ECS pattern are naturally concurrent, and the pattern offers modularity, flexibility, and performance benefits that have led to a proliferation of ECS frameworks. Nevertheless, the ECS pattern is little-known and not well understood outside of a few domains. Existing explanations of the ECS pattern tend to be mired in the concrete details of particular ECS frameworks, or they explain the pattern in terms of imperfect metaphors or in terms of what it is not. We seek a rigorous understanding of the ECS pattern via the design of a formal model, Core ECS, that abstracts away the details of specific implementations to reveal the essence of software using the ECS pattern. We identify a class of Core ECS programs that behave deterministically regardless of scheduling, enabling use of the ECS pattern as a deterministic-by-construction concurrent programming model. With Core ECS as a point of comparison, we then survey several real-world ECS frameworks and find that they all leave opportunities for deterministic concurrency unexploited. Our findings point out a space for new ECS implementation techniques that better leverage such opportunities.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper1

  1. Relational e-matchingYihong Zhang, Yisu Remy Wang, Max Willsey, Zachary TatlockPOPL 2022 · 12 次引用

相关 Paper

  1. An Extensible, Data-Oriented Architecture for High-Performance, Many-World SimulationBrennan Shacklett, Luc Guy Rosenzweig, Zhiqiang Xie, Bidipta Sarkar 等SIGGRAPH 2023 · 13 次引用
  2. Commit-Window Observation Contracts for Reactive Entity-Component SystemsTomoyuki Aotani, Tetsuo KaminaOOPSLA 2026 · 1 次引用
  3. A Living Framework for Understanding Cooperative GamesPedro Pais, David Gonçalves, Daniel Reis, João Cadete Nunes Godinho 等CHI 2024 · 8 次引用
  4. Actor concurrency bugs: a comprehensive study on symptoms, root causes, API usages, and differencesMehdi Bagherzadeh, Nicholas Fireman, Anas Shawesh, Raffi KhatchadourianOOPSLA 2020 · 13 次引用
  5. Layered and object-based game semanticsArthur Oliveira Vale, Paul-André Melliès, Zhong Shao, Jérémie Koenig 等POPL 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖