n14n.dev

Menu

  • Articles
  • Tags
  • About

Tags - Rust

2022

  • Safe representation of restricted values

    • 2022-03-09
    • 15 minutes

    In this article, I explore how we can use Rust's type system to restrict what values can be stored in a type, such only allowing floating point numbers between zero and one.

  • Dancing with the compiler: Rust and explicitness

    • 2022-03-03
    • 12 minutes

    One thing that often surprises newcomers to Rust is how verbose it can be. In this article, I explore how I typically work in tandem with the compiler to make my code more explicit and less error-prone.

2021

  • Safe operations with typestate in Rust

    • 2021-12-17
    • 5 minutes

    A lesser known safety property of Rust is the ability to restrict what operations you can perform on a type given its internal state.

  • Safe JSON representations with Rust

    • 2021-11-09
    • 5 minutes

    You might know about Rust for its memory safety. In this article, I explore how other properties like Enum help you write applications with well-defined behaviors.

2020

  • Rust for serverless applications

    • 2020-08-11
    • 6 minutes

    Rust is gaining popularity amongst developers, so do serverless technologies. This is a quick guide to deploy serverless applications using Rust and AWS SAM.

© Nicolas Moutschen 2020-2023.