Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

50 posts RSS

2026

Figma

How we rebuilt the foundations of component instances

Case study 9 min +90 XP

Figma replaced its decade-old Instance Updater, a self-contained runtime that resolved component instances and also did its own layout and variable evaluation, with Materializer, a generic framework for deriving subtrees of the document tree from feature-defined blueprints.

2025

2024

Figma

The evolution of Figma’s mobile engine: Compiling away our custom programming language

Case study 16 min +160 XP

Figma migrated its prototype viewer's mobile engine from Skew, an in-house compile-to-JavaScript language, to TypeScript using a custom Skew-to-TypeScript transpiler and a three-phase rollout (write/build Skew, write Skew/build TypeScript, write/build TypeScript) that never paused development.

2023

Figma

Enforcing device trust on code changes

Case study 9 min +90 XP

Figma requires code merged into GitHub release branches to come from company-managed MacBooks by signing commits with short-lived X.509 Okta Device Trust certificates instead of relying on GitHub's "Verified" badge, which trusts personal GPG keys and web-flow signatures that compromised tokens can obtain.

Figma

Server-side sandboxing: Virtual machines

Case study 10 min +100 XP

VM-based sandboxing rests on two boundaries: the hypervisor, which is usually strong but exposes a large attack surface, and the VM's own permissions, which must be restricted through network limits, minimal service access and short-lived credentials so a compromised job can't do harm without escaping.

2022

2021

Figma

GraphQL, meet LiveGraph: a real-time data system at scale

Case study 11 min +110 XP

LiveGraph is Figma's real-time data layer on Postgres: frontend code declares GraphQL-like live queries via a React useSubscription hook, and the server keeps results updated by tailing the Postgres write-ahead log distributed over Kafka instead of polling.

The quest for software engineering knowledge.

Look:
Layout: