Jake Worth

I'm a Rustacean

November 06, 20151 min read

Today I wrote my first program in the Rust language. It’s a simple coin toss game.

The source code is here:


The game prompts you for a binary integer input, ignores non-integers, and continues until you win the game.

Things I like about Rust so far:

  • It’s statically typed with type inference
  • It’s compiled (catches my mistakes)
  • Good docs
  • Cargo package manager. Manages dependencies + complies and runs code
  • Seems fast

Next I’d like to port my Markov engine to Rust. I expect such a program will be very performant relative to Ruby.

Jake Worth

I'm Jake Worth, a Chicago-based web developer. Blog About Now