Featured Post

Node to Rust, Day 24: Crates & Valuable Tools

Node to Rust, Day 24: Crates & Valuable Tools

The crates and other tools that will help you be a better Rustacean.

Read more

  1. Node to Rust, Day 9: Enums and Methods
    Node to Rust, Day 9: Enums and Methods

    Thu, Dec 9 2021

    Introduction Yesterday we went over how to create your first struct, the Rust data structure that is most like a JavaScript class. Today we’ll translate method syntax, TypeScript enums, and show how to use Rust’s match expressions. …

  2. Node to Rust, Day 8: From objects and classes to HashMaps and structs
    Node to Rust, Day 8: From objects and classes to HashMaps and structs

    Wed, Dec 8 2021

    Introduction Yesterday we went over some basic differences between JavaScript and Rust and finished with Vectors, the Rust counterpart to JavaScript’s arrays. Arrays are a core structure in JavaScript but pale in comparison to the almighty …

  3. Node to Rust — Day 7: Language Part 1: Syntax & Differences
    Node to Rust — Day 7: Language Part 1: Syntax & Differences

    Tue, Dec 7 2021

    Introduction All languages have a productivity baseline. That point where you know enough to be confident. After you reach the baseline, mastery is a matter of learning best practices, remembering what’s in standard libraries, and expanding …

  4. Node to Rust — Day 6: Strings, Part 1
    Node to Rust — Day 6: Strings, Part 1

    Mon, Dec 6 2021

    Introduction The first hurdle with Rust and strings comes from misaligned expectations. A string literal ("Hi!") isn’t an instance of a String in Rust. You don’t need to fully understand the code below yet, just know that it …

  5. Node to Rust — Day 5: Borrowing & Ownership
    Node to Rust — Day 5: Borrowing & Ownership

    Sun, Dec 5 2021

    Introduction Before we get into strings, we need to talk about ownership. Ownership in Rust is where things start to get complicated. Not because it’s hard to understand, but because Rust’s rules force you to rethink logic and structure …