Using Rust and Battlesnake to Never Stop Learning
February 09, 2024
24 min
Free
rust
battlesnake
data-ownership
tree-search
minmax-algorithm
competitive-programming
game-development
performance-optimization
benchmarking
flame-graphs
memory-management
Description
Cory Alexander shares his journey of building Battlesnakes using Rust. He discusses how he leveraged Rust's performance capabilities, along with tools like benchmarks and flame graphs, to optimize his snake's AI. The talk highlights the iterative process of improving game simulation speed by understanding memory representations, data ownership, and utilizing the Battlesnake game types crate. Ultimately, this exploration led to significant performance gains, allowing his snake to compete effectively on the global leaderboard.