3 ms·
I would argue that the domain of language design is quite a bit lower-level than the domain of specific design patterns like state machines or ECS. A language
by wavemode 2y ago
I would argue that the domain of language design is quite a bit lower-level than the domain of specific design patterns like state machines or ECS.
A language that wants to support ECS, shouldn't implement ECS as part of its syntax. It should provide features that allow library developers to implement ECS (in an ergonomic and efficient way).
- scotty79 2y agoWhy not? When defining a class I should have to be able to have implicit collection of objects of this class with each field of the class kept in its own separate array. It's about memory organisation. And languages certainly feel free to impose those with stack, heap and colocation of all fields of an instance regardless of how varied they are in meaning and usage.