RSSAmplifier

Blog

farzon's blog

Turning personal breakthroughs into public blueprints.

blog.farzon.orgRSS feed ↗25 posts

Latest posts

Compiling the Past and Linking the Dots

"You can't connect the dots looking forward; you can only connect them looking backward." When Steve Jobs said that, he was talking about calligraphy classes and typography. For me, it was buffer overflows, rendering equations, and the Chromium project. If you had looked at my career path a decade ago, you wouldn't have seen a straight line. You would have seen a sharp, arguably foolish, jagged…

The Geometry of Dragon Ball: A Deep Dive into SDFs and Raymarching

Today we are deconstructing the 4-Star Dragon Ball shader (available on Shadertoy here ). This shader is a good example of using 2D math to drive 3D optical effects. To understand it, we must reference the fundamental building blocks provided by Inigo Quilez . This shader is more than just a piece of fan art. I built this 4-Star Dragon Ball shader as a bridge between simple 2D shapes and complex…

The Hardest Problem in Engineering Isn't Code (It’s Communication)

If you ask a room full of software engineers what the hardest part of their job is, you’ll get a variety of answers. Some will say VM orchestration or these days Agent orchestration. Others will say cache invalidation or naming things . They’re all wrong. The hardest thing you will ever have to do in your career is communicate your ideas to other people. You can write the most elegant, highly…

The Architecture of Service: Reclaiming the Soul of Technology

If you trace the lineage of the personal computing revolution back to its roots in the 1970s and 80s, you won’t find corporate boardrooms or venture capital firms. You’ll find idealists. You’ll find the counterculture hippies of the Whole Earth Catalog , the Homebrew Computer Club , or the hackers of the Cult of the Dead Cow , tinkerers who believed that democratizing information would emancipate…

An Android Fuzzing Retrospective Part II: The "Single-VM" Theory and the Bionic Wall

In my previous post , I detailed how our move from the Android Emulator to standalone Android-x86 VHDX images gave us impressive cost saving wins for our fuzzing budget. With any infrastructure pivot, the moment we finished it, we started looking for ways to optimize it further. The plan would have been to collapse our two-VM Producer/Consumer model into a single-VM footprint. Our next major…

The Exhausted Overachiever's Guide to Burnout

For an overachiever, the hardest thing to admit isn't that you're exhausted. It's admitting that you have absolutely no idea what to do next. I spent years playing a very specific character: the one who could out-think, out-work, and out-maneuver any problem. My self-worth wasn't just tied to my output; it was my output. So when burnout hit sure it drained my energy, but worse it entirely stripped…

The Quiet Grind: Why Talent is the Least Interesting Thing About You

There is a persistent myth in software engineering that we all quietly worship: the myth of the "natural." We love the stories of the savant who can architect a billion-dollar app in their dorm room. It makes for great headlines. But if you spend enough time in this industry, staring at a terminal at 2:00 AM trying to figure out why your code keeps failing, you realize something sobering. Talent…

The Big Tech Pivot: Why a Buyout Isn't an End, It's an Opening

Right now, a palpable sense of anxious terror is vibrating through our engineering floors. Microsoft is offering thousands of voluntary buyouts. Meta is axing jobs to fund a staggering $135 billion pivot into AI infrastructure. When you are staring at a buyout package on your own desk, you have a choice to make about how you frame your reality. You can view yourself as a victim of a collapsing…

A Retrospective on Fuzzing Edge for Android: Looking beyond the Emulator

When I was the head of Microsoft's Edge security for the US market, we ran into an infrastructure challenge that forced us to completely rethink how we fuzzed Android. The project we built no longer exists at Microsoft, and the Android-x86 project we relied on is now officially dead and unsupported. However, the architectural pivot we made to get around cloud compute constraints remains a novel…

MemGC: A Retrospective on a Bygone Frontline of Browser Security

Looking back at my time on the Chakra and the OG Edge team, few projects I had the opportunity to work on feel as consequential to my development as an engineer as my opportunity to work on MemGC (Memory Garbage Collection) . In the 2014-16 time period the largest amount of security bugs filed against Internet Explorer were Use-After-Frees (UAFs) . MemGC was our architectural response: a garbage…

The ROI of Irrationality: What Grad School Actually Taught Me

I went to graduate school to specialize in computer graphics. I came out of it to find a job market that had practically vanished. If I had listened to the conventional wisdom of the time, I would have pivoted. I would have cut my losses, updated my resume to reflect a safer trajectory, and moved on. For a time I did do just that and pivoted to computer security. But I realized it would be better…

The Benchmarks of a Ghost Ship: On Knowing When to Walk Away

In the world of software engineering, we are raised on a diet of pure meritocracy. We believe that if our algorithms are faster, our latency lower, and our architecture more elegant, we win. We treat the codebase like a sanctuary where logic is the only law. But I’ve spent my career building cathedrals in sinking cities, and if there is one thing I’ve learned, it’s that the most brilliant code in…

The "Certainty Tax": Why Big Tech Will Never Use Wine or Darling for CI

In the world of DevOps, there is an obvious, glaring financial inefficiency: macOS and Windows VMs are a rip-off. If you’re running GitHub Actions or CircleCI, a macOS runner can cost you 10x more per minute than a standard Linux runner. For a Fortune 500 company running thousands of builds a day, that bill is staggering. Theoretically, tools like Wine (for Windows apps) and Darling (for macOS…

The "Warf" Way Part II: Tackling the macOS Frontier with osx-cross and Darling

In my last post, " The Warf Way: Seamless Windows Testing " we looked at how to streamline Windows testing by leveraging Docker and Wine. It provided a seamless way to validate Windows-specific logic without ever leaving the comfort of Linux. But as any cross-platform developer knows, Windows is only half the battle. The "Final Boss" of CI is almost always macOS. Traditionally, testing for macOS…

The "Warf" Way: Seamless Windows Testing on Linux using MinGW & Wine

In the world of language development, even a "toy" language needs a solid foundation. My project, warfLang , isn't trying to replace C++ or Rust. It’s an LL(1) parser written in C++ that generates an Abstract Syntax Tree (AST)—essentially a glorified calculator that supports variable definitions. But even a calculator needs to count correctly on every platform. To ensure warfLang remains truly…

The Geometry of the Essential: A Look at the Seam Carving Algorithm

Consider the digital photograph. To the human eye, it is a continuous, evocative memory. May it be a face, a landscape, a fleeting moment of light and shadow. But beneath the veneer of human perception, it is something entirely different. It is a rigid matrix. A vast, unyielding grid of pixels, each holding a specific mathematical value of light and color. It is a Cartesian plane. It is a vast,…

Automating C++ Code Coverage with LLVM and GitHub Actions

Setting up an automated coverage report is a powerful way to visualize the effectiveness of your test suite. This post breaks down how the warfLang repository generates and publishes its reports, moving from raw source code to a live site hosted on GitHub Pages. We will look at how this is done using Clang and LLVM-Cov, which provides highly accurate source-based coverage. The Foundation: Clang…

Bringing HLSL Support to Clangd: The HLSL teams first GSoC project

I am thrilled my team is sponsoring our first of many featured project for the 2026 Google Summer of Code : Enable Clangd support for HLSL . If you are a student developer interested in compilers, developer tooling, or graphics programming, this is a unique opportunity to contribute to the LLVM ecosystem and improve the lives of thousands of shader developers. What is HLSL and Clangd? HLSL…

Intel’s Clean-Slate Bet on the Future of Linux Gaming

Intel recently merged “Jay” a clean-slate shader compiler backend into Mesa. While Intel already has a mature compiler stack in the legacy BRW backend , Jay represents a fundamental shift in how Intel GPUs handle code on Linux. You can track the technical implementation in the official merge request here . The Problem: Architectural Evolution The existing BRW backend has been the workhorse of…

Beyond Rosetta 2: Why the "Living Binary" Is the Future of Silicon

The tech world is currently witnessing the end of an era. Apple has officially updated its documentation to signal the beginning of the end for Rosetta 2 . While we knew this day would come, it’s worth pausing to appreciate the sheer technical wizardry that changed our expectations of software forever. Rosetta 2 wasn't just a bridge; it was the father of the "Living Binary." When Apple moved to…

Testing HLSL with the LLVM Offload Test Suite in WSL 2

If you are a developer working with HLSL or GPU compilers you likely prefer working in Linux. You might have felt sidelined because Linux lacks a dedicated DirectX device. However, if you are on Windows, you have a powerful tool at your disposal: Windows Subsystem for Linux (WSL) 2 . Since 2020, WSL 2 has supported DirectX, exposing the DxCore ( libdxcore.so ) and D3D12 ( libd3d12.so ) APIs. This…

From Sidelined to Streamlined: Cracking the Code (Part 2)

In Part 1 , I talked about the high-level "magic" happening on your wrist. How Apple uses neural networks and math to guess your VO2Max even when you’re just walking around the block . But if you're like me, "trusting papers" isn't enough . I wanted to get my hands on the raw numbers to see the "Prediction Delta" for myself The problem? When you hit " Export Health Data " on your iPhone, you don’t…

From Sidelined to Streamlined: Decoding My Apple Watch Metrics (Part 1)

I am a data junkie. I track, measure, and optimize. So, when a severe ankle injury recently sidelined me, the hardest part wasn't the physical pain it was watching my hard earned fitness metrics plummet while I sat powerless on the sidelines. For the last five weeks, I’ve been cleared to walk. My "North Star" for this comeback? VO2 Max . I’ve watched the numbers slowly climb back toward my peak,…

The Geometry of Light: Understanding the World Through Shaders

Writing code is usually seen as a pursuit of logic. An order of statements designed to solve a problem. But when you dive into the world of shaders , code starts to feel less like engineering and more like painting with light. H ere, code is the medium through which we translate the abstract beauty of mathematics into the tangible reality of light. The Pixel as a First Principle In a fragment…

To the Moon and Back: How a fundamental Algorithm is Navigating the Artemis Missions

I have been so energized with all the cool space news in 2026. It has been one of the few things keeping me sane 🤣. So today I'm going to walk through a paper I just read as I try to consume as much space news as possible. Have you ever wondered how a spacecraft, hurtling through the vacuum of space at thousands of miles per hour, knows exactly where it is? Well NASA answered that question in…