3 ms·
Idea we played with was one step further--take the entities and have their components/state data backed as atoms, and create separate buffers. During update, re
by angersock 13y ago
Idea we played with was one step further--take the entities and have their components/state data backed as atoms, and create separate buffers. During update, read from buffer A and write state to buffer B, then swap. This should allow for fairly trivial use of a worker pool to handle concurrent updates.
- mattgreenrocks 13y agoReally cool idea! This scheme also facilitates a immutable-centric engine.
- digikata 13y agoWhat happens with concurrency was the area I was thinking about too. Particularly what happens if you want a render thread accessing various nodes while the rest of the engine could be in another thread updating the same data.
- bsenftner 13y agoThat's how I wrote the inner core for one of the Tiger Woods PGA games for EA.
- angersock 13y agoHa! That's awesome, you're awesome. :)