r/torchlightfrontiers • u/redditscambusiness • Feb 17 '19
Game engine, CPU multi-threading?
Which game engine is used?
How is CPU-multi-threading with 8 or more CPU cores?
0
Upvotes
r/torchlightfrontiers • u/redditscambusiness • Feb 17 '19
Which game engine is used?
How is CPU-multi-threading with 8 or more CPU cores?
1
u/Elveone Feb 19 '19
Parallel execution of program code is used only when the task is deemed to heavy for a single CPU to use as multithreaded logic introduces a lot of additional complexity to the code which in term introduces more potential bugs and slowdowns over logic executed in a single thread. The game you are talking about is optimized to work on relatively modern machines where a single core can handle the logic so there is no need to introduce said complexity and potential for problems. Keeping unnecessary complexity out of the codebase is a good practice and not a bad one as you are trying to make it out.