Ancestors

Toot

Written by lachlan slowly taming rust on 2024-12-16 at 00:14

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

Descendants

Written by lachlan slowly taming rust on 2024-12-16 at 00:14

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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113659613708039187
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
253.45024 milliseconds
Gemini-to-HTML Time
0.354094 milliseconds

This content has been proxied by September (ba2dc).