How is parallelism implemented in the ECS?

(Erlend Sogge Heggen) #1

Is there a good place to start to understand how parallelism is implemented in the ECS? I recently wrote a generic ECS in C and I was thinking about how I could make it parallel without making it basically functional, and I’m curious what others have done.

1 Like
(Erlend Sogge Heggen) #2


And <@189169310680219649>, there was a blog article on specs, it’s pretty old tho:
There’s a few good links in there though I think, and it explains some thoughts behind the development

Also the specs book could be a useful resource:

specs uses rayon behind the scenes iirc, so that might also be worth a lot:


shameless plug, this slide may be useful:


For the actual dispatcher scheduling, might want to check out how shred divides systems into groups and stages to make it safely parallel. Comments in this file