Farid Zakaria’s Blog
https://fzakaria.com/
I’m a software engineer, father and wishful amateur surfer. If you’ve come seeking my political views, you’ve found the wrong Fareed.
フィード

Programming languages are for humans
Farid Zakaria’s Blog
tl;dr borrIR is a borrow checker, a zero-libc standard library (libir), and a bitcode package manager for raw LLVM IR. Try it live in the browser playground, and commit yourself to the agentic engineering way of life. Welcome AI disciples. This post is for you. We are just past the year mark when Opus 4.5 was released on November 24, 2025, when the way in which we craft and generate code changed overnight. We ushered in the era of agentic coding, where AI agents can autonomously generate, modify, and reason about code with minimal human intervention.
1日前

Your phone is a Kubernetes node
Farid Zakaria’s Blog
tl;dr tabernetes turns browser tabs into real Kubernetes nodes. Open tabernet.es on your phone to join my live cluster: the scheduler assigns your tab a pod, and it runs on a Linux kernel booted inside the browser. Ever since I came across @_pi0_’s work on unkernel.dev, it’s been a chaotic brain-gasm of ideas about running Linux in unconventional places now that it’s economical and practical enough to do even on a phone.1 trynix.dev is another project of mine exploring Linux in the browser, which inspired some of my thinking here. ↩
2日前

Browser tabs as a container runtime
12
Farid Zakaria’s Blog
tl;dr tabc is a container runtime, like runc, that runs each container in a Chromium tab. docker run --runtime tabc alpine works and starts in under a second. On a Mac it needs no hypervisor and no Linux VM; Linux for everyone! Despite my zealot love for Nix, there is no denying the convenience and ubiquity of Docker. Containers have become the standard unit of software deployment, providing a consistent environment across different machines and simplifying the management of dependencies.1 Containers are not even a “real” thing within the Linux kernel although there are recent attempts to formalize them as a kernel-level abstraction. ↩
4日前

2035 came early
2
Farid Zakaria’s Blog
tl;dr trynix.dev boots GUI programs now. Try solitaire, GL gears, xeyes, a voice, the weather over curl, or Firefox. I remember watching the talk The Birth & Death of JavaScript by Gary Bernhardt and falling in love with the whimsical yet dreadfully serious unfolding of the story of how JavaScript will come to dominate all software. Others have noted the inevitability of JavaScript’s dominance, so perhaps it was not surprising that Atwood’s Law holds true. Atwood’s LawAny application that can be written in JavaScript, will eventually be written in JavaScript. — Jeff Atwood, 2009 I highly recommend watching the talk if you have not already seen it, but the short and skinny is a lookback from 2035 and how JavaScript came to be the defacto language for all software. In Bernhardt’s retelling of events, the date is worked back from 2035, however unsurprisingly, large language models have rapidly sped up the timeline. What was once perceived to be the end-state at 2035 has arrived years
6日前

Genrules all the way down
Farid Zakaria’s Blog
I remember having a chat with @siggisim, BuildBuddy co-founder, that what made Bazel special at Google was not necessarily its technological-chops but rather Google’s monorepo (/google3/) and their strict requirement that all third-party software be built and managed within that monorepo by Bazel.
9日前

Build systems à la trace
Farid Zakaria’s Blog
As a build systems enthusiast, Build Systems à la Carte is one of my favourite papers. It defines a way to think about build systems that is both precise and surprisingly practical.
11日前

Worshipping at the altar of Brendan Gregg
Farid Zakaria’s Blog
Okay, I am the first to admit that I’m a bit manic with AI. When you are working on a problem that has endless possibilities, it is difficult to constrain yourself to a limited set of features.
17日前

What if every Nix build were bit-reproducible?
Farid Zakaria’s Blog
The holy grail of build systems and package managers is bit-reproducible1 builds. This is such a desired trait that nearly every Linux distribution has a reproducible builds project to track the progress and validity of their builds. Why is bit-reproducibility so important? Trust. You can trust that the software you are running has not been tampered with and is the same as what the developers intended if you can verify that when built from source, the output is identical. Making software bit-reproducible though is hard. There are a lot of ways that can introduce non-determinism into a build: timestamps, random seeds, thread scheduling, and more. Most distributions that have achieved “reproducible builds” have done so for only a subset of their packages, usually those that comprise the core of the ISO or distribution. Nix’s default model, the extensional model (input-addressed), famously works around the need for bit-reproducibility by hashing the inputs to a build and using that hash a
20日前

Making profile-guided optimization reproducible
Farid Zakaria’s Blog
Profile-guided optimization (PGO) is an easy way to speed up a program, especially if the workload is somewhat stable. In leaving performance on the table, I built a profile-guided sqlite3 variant for a 1.32x speedup for our SELECT workloads.
22日前