c++pythonmultithreadingsfmlode-library

Do I need multi-threading for this project?


Target Platform: Windows XP high school computers

Libraries Required: SFML, GLEW, ODE, Python (for embedding)

Planned Features that lead me to believe I may need multi-threading:

  1. Up to a hundred robots all interpreting python scripts in real time.
  2. All robots and their components in physical simulation with their environment.
  3. A detailed environment is generated in large sections around the player.
  4. May need to write files to hard drive while the game runs.
  5. (In addition to these features, the target platform worries me)

Do I need multi-threading for this project?


Solution

  • Do I need multi-threading for this project?

    If your project needs you to perform lot of independent tasks simultaneously then multithreading is an good option.
    Note the stress on independent & simultaneously, the base rule is:

    More the need of synchronization less is the point of having Multithreading.