Oddbean new post about | logout
 nostr:npub1y6tk68elxfcrz8yx5kf32agav67hwz4rt2ff22f8rl98yxh7uxhsx69wl9 nostr:npub1wg02ev7lfmnrwsjqu2tcm2qm4gw65aw0dyywfwvgafqnqyf02wmqhht0yf rust takes the approach of mpsc (something like Go channels) to share resources between threads and the capture clause is something like std::thread t{[<move fucking everything>](args...) {}}; so everything in the thread is local, it sort of forces you a paradigm