It's 2025, and I've written my first Rust program!
Check it out here: https://tictactoe.chinloongtan.com/
I've always wanted to learn a new programming language to gain fresh perspectives and explore new programming paradigms.
Rust introduces a few exciting concepts, such as ownership and borrowing, and eliminates null values, making it safer and more reliable.
After learning the basics of Rust programming, I decided to rewrite the minimax algorithm, which I had previously implemented in Ruby, in Rust.
GitHub Repository: https://github.com/chinloongtan/unbeatable-tictactoe-wasm
I thought, why stop at a binary executable when I could compile it as a library crate? So I took it a step further and compiled it into a WebAssembly (Wasm) package to use on the web.
Rust is both fast and safe, and I’m excited to spend more time working with it.
That's all for now. Thanks for reading.