Mehdi Akiki

Writing archive

Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.

  • Published on

    Reference · Through the layers

    Understanding Tokio Task Functions

    Explore how Tokio's spawn, spawn_blocking, and block_on functions allow efficient handling of asynchronous, blocking, and CPU-heavy tasks in Rust applications, with practical use cases for each.
  • Published on
    A brief overview of JavaScript's Reflect API with practical examples of how it aids meta-programming by providing methods for intercepting operations on objects.
  • Published on
    Explore why over-reliance on else can increase cognitive load in Rust, and discover alternative control flow patterns such as early returns, match expressions, and combinators that simplify code and improve readability.