Advent of Code 2020, this time in Rust

There's been lots of interest in Rust in the JavaScript and TypeScript community over the past few years, both because it can target WebAssembly and because deno is written in Rust.

Last year I decided to learn Rust by doing the Advent of Code in it: two puzzles every day of December leading up to Christmas. I had a great time and learned a lot about Rust, and I'd highly recommend this as a way to learn a language.

Since this is a bit off-topic for the Effective TypeScript blog, I posted my writeup on Medium. If you're interested in Rust, check it out: Advent of Code 2020 (this time in Rust).

TL;DR: Rust is an interesting language that works great for a specific niche, but it's a bit annoying to work with and I wouldn't choose to use it unless I was working in its niche. Also, this year's Advent of Code was too easy!

Like this post? Consider subscribing to my newsletter, the RSS feed, or following me on Twitter.
Effective TypeScript Book Cover

Effective TypeScript shows you not just how to use TypeScript but how to use it well. The book's 62 items help you build mental models of how TypeScript and its ecosystem work, make you aware of pitfalls and traps to avoid, and guide you toward using TypeScript’s many capabilities in the most effective ways possible. Regardless of your level of TypeScript experience, you can learn something from this book.

After reading Effective TypeScript, your relationship with the type system will be the most productive it's ever been! Learn more »