Mehdi Akiki

Posts tagged "systems programming"

  • Published on

    Article · Through the layers

    A Rust FFI Boundary Is More Than repr(C)

    A tested Rust-and-C FFI boundary covering ABI layout, pointer validation, ownership, panics, error reporting, callbacks, versioning, and cross-language harnesses.
  • Published on

    Article · Through the layers

    WebSockets From the Wire Up

    Most WebSocket tutorials start at the API. This one starts at the wire — electrons, NIC interrupts, kernel socket buffers, the TCP state machine, the HTTP upgrade handshake, the binary frame format — and works up to what ws.send() actually does.
  • Published on
    How I built a custom code execution engine backed by a Rust/Axum microservice, embedded directly in blog articles. Covers the security model, subprocess isolation with setrlimit, HMAC request signing, and the tradeoffs behind every decision.