Skip to content

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

Topics Engineering practices

Refactoring & migrations

Large refactors, codebase migrations, legacy modernization, tech debt.

Search within Refactoring & migrations, or combine it with other topics →

November 2026

How Country Road Group built a pattern-driven integration solution on AWS

Case study 10 min +100 XP

Country Road Group replaced 21 BizTalk Server interfaces on VMware with a declarative, pattern-driven integration platform on AWS, where each interface is composed from standard enterprise integration patterns provisioned by pre-built Terraform modules.

October 2026

September 2026

Native is now the future of mobile at Shopify

Case study 10 min +100 XP

Shopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling.

August 2026

July 2026

Upgrading Checkout Blocks app to Polaris web components

Case study 10 min +100 XP

Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.

June 2026

Hugging Face

ScarfBench: Benchmarking AI Agents for Enterprise Java Framework Migration

Research 5 min +50 XP

ScarfBench is an open benchmark of 34 enterprise Java applications (102 implementations, 204 migration tasks, ~151K LOC, 1,331 expert-written tests) for evaluating AI agents on migrations between Spring, Jakarta EE and Quarkus, scored on whether the result builds, deploys and preserves behavior.

Kotlin Multiplatform in Production: Two Real-World Use Cases from Booking.com

Case study 14 min +140 XP

Booking.com applied Kotlin Multiplatform in two production cases: a shared experimentation library replacing drifting Java/Kotlin and Objective-C implementations, and a Compose Multiplatform (Kotlin/JS) web playground that renders the real Android BUI design-system components in a browser.

May 2026

April 2026

March 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.

February 2026

Fragmentation to framework: Spec-first development at Benchling

Case study 8 min +80 XP

Benchling replaced M×N hand-built integrations between scientific object types (DNA sequences, notebook entries, inventory) and platform capabilities (REST API, warehouse, search, config migration) with the Object Framework, a spec-first layer over its monolithic SQLAlchemy-based service.

January 2026

December 2025

Meta Engineering

How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks

Case study 10 min +100 XP

Meta wraps risky OS and third-party APIs in secure-by-default frameworks built on three principles: mirror the existing API, depend only on public and stable interfaces, and keep each library small but usable across all apps and OS versions.

November 2025

October 2025

Accelerating Mobile App development at Zalando with Rendering Engine and React Native

Case study 11 min +110 XP

Zalando is incrementally migrating its separate iOS and Android apps to React Native by reusing Rendering Engine, its React-based web framework whose "renderers" bundle data fetching, caching, observability and tracking into components.

September 2025

August 2025

Meta Engineering

Federation Platform and Privacy Waves: How Meta distributes compliance-related tasks at scale

Case study 9 min +90 XP

Meta's Federation Platform turns large compliance initiatives into code-defined workstreams that scrape privacy flags, resolve asset ownership via a central catalog, group related flags, and either file tasks or send automated diffs, with resolution logic that auto-closes or reopens tasks.

Canva Engineering

From Intern Project to Production: How I Shipped the Draw Tool for Canva's Present Mode

Case study 8 min +80 XP

Bringing Canva's editor draw tool into present mode required three fixes: extracting the editor-coupled draw logic into a new shared package with interfaces between shared classes and domain-specific implementations (Open/Closed Principle), normalizing stroke coordinates so drawings stay correctly positioned and scaled across Presenter View's presenter and audience windows, and lazy loading the draw tool with code splitting.

July 2025

June 2025

Breaking up a monolith: How we’re unwinding a shared database at scale

Case study 20 min +200 XP

Datadog is splitting its large shared Postgres database into independently owned instances through a three-phase plan: logical separation into per-domain private schemas with explicit ACLs, access reduction so only owning teams query their tables directly, and physical separation onto managed OrgStore instances.

May 2025

April 2025

Squeezing every millisecond: How we rebuilt the Datadog Lambda Extension in Rust

Case study 9 min +90 XP

Datadog rewrote its AWS Lambda Extension from a Go build of the full Datadog Agent into a purpose-built Rust sidecar (Project Bottlecap), cutting cold start overhead from about 450 ms to 70 ms, memory from 128 MiB to 77 MiB, and binary size from 55 MB to 7 MB.

March 2025

February 2025

LLM powered migration of UI component libraries

Case study 14 min +140 XP

Zalando's Partner Tech team migrated 15 B2B applications between two in-house UI component libraries using GPT-4o, after five hackathon iterations showed that accuracy came from combining generated component interfaces, manually verified attribute mappings (e.g. old "medium" button maps to new "large") and worked examples in the prompt.

January 2025

December 2024

October 2024

August 2024

July 2024

Slack Engineering

Unified Grid: How We Re-Architected Slack for Our Largest Customers

Case study 10 min +100 XP

Slack re-architected its backend and clients to replace the workspace-centric model, where session tokens carried a workspace ID used for shard routing and access control, with an org-wide Unified Grid view for Enterprise Grid customers.

June 2024

May 2024

April 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.

March 2024

Etsy Code as Craft

Macramé: Untangling the Knot on the Etsy Android Listing Screen

Case study 7 min +70 XP

Etsy rewrote its 4000-line Android listing Fragment into Macramé, a Mobius-inspired unidirectional architecture: a single immutable State exposed via StateFlow, flattened into small UI models rendered by a RecyclerView with ListAdapter diffing, and a sealed-class Event dispatcher routing actions to single-purpose Handlers that update State, launch async work, or emit SideEffects to the Fragment.

February 2024

January 2024

Zed

Why the big rewrite?

Case study 21 min +210 XP

Zed rewrote its Rust UI framework from GPUI 1 to GPUI 2 because the original design blocked fast UI work: a Flutter-style constraints-down/sizes-up layout model, styles split between Rust element code and TypeScript-generated JSON "themes" loaded at runtime, model code entangled with presentation (a legacy of an early Electron/JSON architecture), and weakly typed geometry (raw f32s and usizes).

November 2023

October 2023

August 2023

May 2023

April 2023

March 2023

February 2023

January 2023

December 2022

November 2022

October 2022

How to Write Code Without Having to Read It

Opinion 12 min +120 XP

Engineers can safely change unfamiliar code with minimal reading by letting the compiler, linter and unit tests guide them: locate the entrypoint via user-visible strings (or git bisect for regressions), make the breaking change at the leaf component, then climb the callstack following build errors and sweep back down via lint errors, exhaustive switches and test failures.

The quest for software engineering knowledge.

Look:
Layout: