Writing a blog post on Data Oriented Design. Any skeptics want to share their worries/criticisms? Looking to address some of the most common ones.
There is 1 thread per core (or fewer threads than cores, configurable via .ini). All tasks are put into a queue and picked up by workers. There is no main thread, per se. main thread gets stuff going then just becomes a worker.
-
-
If enabled, each worker has an affinity set to a core #. So the third worker will always run on the third core. You can set groups of tasks to only run on certain cores (ie, async tasks never run on “frame reserved” cores.)
-
Thank you for the explanation. The model looks to me like Cilk's model ( https://en.wikipedia.org/wiki/Cilk ) which i liked a lot, but ultimately failed. IMHO, in the end all that matters is if the part of the model that depends on certain programmer abilities, can be satisfied or not.
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.