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 19: Tests and Project Structure
    Node to Rust, Day 19: Tests and Project Structure

    Sun, Dec 19 2021

    Introduction Over the last 18 days we got our environment set up with rustup, VS Code, and rust-analyzer. We pushed through the tough parts of being a newbie Rust developer and just started learning which crates we should start depending on. Now …

  2. Node to Rust, Day 18: Async in Rust
    Node to Rust, Day 18: Async in Rust

    Sat, Dec 18 2021

    Introduction Rust’s async story has its good parts and bad parts. Futures (Rust’s promises) are a core part of Rust. Actually being able to use them is not. That’s weird, let’s break it down. Rust’s standard library …

  3. Node to Rust, Day 17: Arrays, Loops, and Iterators
    Node to Rust, Day 17: Arrays, Loops, and Iterators

    Fri, Dec 17 2021

    Introduction Translating common JavaScript use cases for Arrays and loops requires learning some new concepts and data types. You’ll also need to get comfortable reading and writing more code than you’re used to. In some ways, Rust is …

  4. Node to Rust, Day 16: Lifetimes, References, and 'static
    Node to Rust, Day 16: Lifetimes, References, and 'static

    Thu, Dec 16 2021

    Introduction Lifetimes are Rust’s way of avoiding dangling references, pointers to memory that has been deallocated. To a user, this might look like a failed operation or a crashed program. To a malicious actor, it’s an opening. Accessing …

  5. Node to Rust, Day 15: Closures
    Node to Rust, Day 15: Closures

    Wed, Dec 15 2021

    Introduction Closures are a natural part of JavaScript. It’s hard to imagine what programming is like without them. Luckily, you don’t have to. The behavior of Rust’s closures is similar enough to JavaScript’s that you will be …