Skip to main content

One post tagged with "performance"

View All Tags

Debugging Multithreaded Rust Scaling Problems

· 8 min read
Software Engineer

I was recently listening to one of my go to podcasts, A Problem Squared, where the hosts tackled the problem of figuring out the probabilities of outcomes for a particular card game. They approached it by simulating the game 10 millions times and collecting statistics on the results. I've been wanting a small Rust project to work on, so I thought it would be fun to do this in Rust and run 1B+ simulations to see how the results compared. I learned far more than I expected.