Software Engineer · Stockholm · DigitalRoute

Engineering software, and rethinking how it's built in the age of AI.

I care about systems that are fast, correct, and a pleasure to use — and about what changes when AI becomes part of how we build them.

A Lazy Route Is a Request You Make Later

Code splitting doesn't remove a network request — it reschedules it to the moment a user clicks, against a build that may no longer exist. Measured in a small React shop: why a 158 ms chunk still shows a spinner for 300 ms, how to get the click to 1 ms, and what breaks after a deploy.

  • javascript
  • react
  • vite

Import Is Not a Function Call

require() and import look like two spellings of the same thing. They aren't. One is a function call and one is a declaration — and that single difference explains live bindings, link-time errors, the browser's request waterfall, and why bundlers exist at all.

  • javascript
  • modules
  • esm

Rust's Concurrency Rule Doesn't Relax — It Moves

Rust's rule against shared mutable state doesn't relax once you add threads. It just changes who enforces it — and gains a second rule deciding who's allowed to cross the thread boundary at all.

  • rust
  • concurrency
  • systems

The Memory Wall

Why a GPU is architected nothing like a CPU, and the one ratio — arithmetic intensity — that tells you whether your code will ever be fast on either.

  • gpu
  • cuda
  • systems

There's No Magic in Your Database

You type SELECT and rows come back. In between is a stack of twelve layers, each solving one very sensible problem. Here's the whole journey, following a single query from your terminal to the disk and back.

  • databases
  • postgresql
  • internals

Selected projects

All projects →

Now

  • Building Usage Data solutions at DigitalRoute
  • Going deep on Generative AI, ML & distributed systems
  • Learning Go and Rust for efficient, scalable systems
  • Writing essays and recording Udemy courses

Contact

Open to conversations about engineering, AI systems, collaboration — or just connecting with fellow developers.