system
A chat on subreddit /r/pcmasterrace
human
Im not a tech guy, so I'm oblivious to it, but is there a way to future proof cpu usage? Like, give a program/game access to whatever many cores/threads there can be?
gpt
Some code just can't be multithreaded. Different threads run almost entirely separately until you tell them not to. This means they can read and write to memory at the same time and cause race conditions or unpredictable results. This is why locks exist. But this also means that you can have hundreds of threads waiting for one thread to release the lock. All of this means that it's a massive pain in the ass and nobody bothers doing it unless a feature makes your game unplayable.