Multithreading, eh? Gonna have to figure out whether I've done this thing the idiomatic #rust way later... I've got suspicions I haven't. Starting with the fact I've got a bunch of shared memory.
=> More informations about this toot | More toots from lachlan@mastodon.social
Not really sure of the best way to implement an MCTS over multiple threads without memory sharing though - manipulating the tree does require actual changes meaning that shoving it in a single thread and doing select/expand/propagate by messages would bog down the rest of the processes.
Alternative would be multiple copies of the tree - but that starts using memory in a way that's not helpful until the locks become a problem.
=> More informations about this toot | More toots from lachlan@mastodon.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini