An Argument for the Practicality of Entity Component Systems as the Primary Data Structure for an Interpreter or Compiler
In this paper, we examine how Entity Component Systems, a data structure that has been gaining popularity in game engines, can benefit compiler and interpreter design. ECS does not consistently provide the same performance benefits that games utilize it for; however, it does make writing optimization passes easier. Additionally, its dogmatic focus on simple Plain-Old-Data structures makes serialization much easier. These benefits do come at a memory cost, the severity of which we still need to compare against more mature language implementations.
Authors
- Joshua Dahl (ORCID: https://orcid.org/0000-0002-2446-2547)
- J. S. Harris (ORCID: https://orcid.org/0000-0002-0857-6931)
Institutions
- University of Nevada, Reno (US)
Publication Details
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3759429.3762622
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation