logo
episode-header-image
Apr 2025
1h 13m

Stacked diffs and tooling at Meta with T...

Gergely Orosz
About this episode

Supported by Our Partners

Swarmia — The engineering intelligence platform for modern software organizations.

Sentry — Error and performance monitoring for developers.

Why did Meta build its own internal developer tooling instead of using industry-standard solutions like GitHub? Tomas Reimers, former Meta engineer and co-founder of Graphite, joins the show to talk about Meta's custom developer tools – many of which were years ahead of the industry.

From Phababricator to Sandcastle and Butterflybot, Tomas shares examples of Meta’s internal tools that transformed developer productivity at the tech giant. Why did working with stacked diffs and using monorepos become best practices at Meta? How are these practices influencing the broader industry? Why are code reviews and testing looking to become even more critical as AI transforms how we write software? We answer these, and also discuss:

• Meta's custom internal developer tools

• Why more tech companies are transitioning from polyrepos to monorepos

• A case for different engineering constraints within the same organization

• How stacked diffs solve the code review bottleneck

• Graphite’s origin story and pivot to their current product 

• Why code reviews will become a lot more important, the more we use AI coding tools

• Tomas’s favorite engineering metric 

• And much more!

Timestamps

(00:00) Intro

(02:00) An introduction to Meta’s in-house tooling 

(05:07) How Meta’s integrated tools work and who built the tools

(10:20) An overview of the rules engine, Herald 

(12:20) The stages of code ownership at Facebook and code ownership at Google and GitHub

(14:39) Tomas’s approach to code ownership 

(16:15) A case for different constraints within different parts of an organization 

(18:42) The problem that stacked diffs solve for 

(25:01) How larger companies drive innovation, and who stacking diffs not for 

(30:25) Monorepos vs. polyrepos and why Facebook is transitioning to a monorepo

(35:31) The advantages of monorepos and why GitHub does not support them 

(39:55) AI’s impact on software development 

(42:15) The problems that AI creates, and possible solutions

(45:25) How testing might change and the testing AI coding tools are already capable of 

(48:15) How developer accountability might be a way to solve bugs and bad AI code

(53:20) Why stacking hasn’t caught on and Graphite’s work 

(57:10) Graphite’s origin story 

(1:01:20) Engineering metrics that matter 

(1:06:07) Learnings from building a company for developers 

(1:08:41) Rapid fire round

(1:12:41) Closing

The Pragmatic Engineer deepdives relevant for this episode:

Stacked Diffs (and why you should know about them)

Inside Meta’s engineering culture

Shipping to production

How Uber is measuring engineering productivity

See the transcript and other references from the episode at ⁠⁠https://newsletter.pragmaticengineer.com/podcast⁠⁠

Production and marketing by ⁠⁠⁠⁠⁠⁠⁠⁠https://penname.co/⁠⁠⁠⁠⁠⁠⁠⁠. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com.



Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Up next
Aug 6
The state of VC within software and AI startups – with Peter Walker
Brought to You By:•⁠ WorkOS — The modern identity platform for B2B SaaS.•⁠ Statsig ⁠ — ⁠ The unified platform for flags, analytics, experiments, and more.• Sonar — Code quality and code security for ALL code.—In this episode of The Pragmatic Engineer, I sit down with Peter Walker ... Show More
1h 19m
Jul 23
Measuring the impact of AI on software engineering – with Laura Tacho
Supported by Our Partners•⁠ Statsig ⁠ — ⁠ The unified platform for flags, analytics, experiments, and more.• Graphite — The AI developer productivity platform.—There’s no shortage of bold claims about AI and developer productivity, but how do you separate signal from noise?In thi ... Show More
1h 11m
Jul 16
Amazon, Google and Vibe Coding with Steve Yegge
Supported by Our Partners•⁠ WorkOS — The modern identity platform for B2B SaaS.•⁠ Statsig ⁠ — ⁠ The unified platform for flags, analytics, experiments, and more.•⁠ Sonar — Code quality and code security for ALL code.—Steve Yegge⁠ is known for his writing and “rants”, including th ... Show More
1h 33m
Recommended Episodes
Aug 2024
Venture returns, recovering startups, and VC conflicts | E1995
This Week in Startups is brought to you by… Coda. Coda empowers your startup by bringing words, tables, and teams together. Strategize, plan, and track goals effectively with all your valuable data in one place. Go to https://www.Coda.io/twist to get started for FREE and get 6 fr ... Show More
1h 27m
May 2024
#207 Data Driven Venture Capital with Andre Retterath, Partner at Earlybird VC
As we close out our focus on how the venture capital industry identifies and decides which future companies to fund, it might be easy to fall into the trap of thinking that the latest methods for discovering future unicorns are ubiquitous among all VCs. However, many VCs still wo ... Show More
52m 25s
Jul 2024
Five levels of AI, venture's recovery & the hottest construction startups | E1979
This Week in Startups is brought to you by… Vanta. Compliance and security shouldn't be a deal-breaker for startups to win new business. Vanta makes it easy for companies to get a SOC 2 report fast. TWiST listeners can get $1,000 off for a limited time at http://www.vanta.com ... Show More
1h 24m
Dec 2022
The keys to framing a winning investor pitch
It wasn’t very long ago that venture capital was so free-flowing it seemed as if any entrepreneur with a half-decent idea could raise an initial round of financing. Those halcyon days are clearly now past us, with inflation, rising interest rates, and slowing economic growth (or ... Show More
31m 47s
Sep 2024
Career Progression at Startups - Caution: NOT How Big Companies Do It (Edu)
One of the toughest challenges in early-stage startups is managing employee career development. Unlike big corporations, startups thrive on chaos, ownership, and self-driven growth, meaning traditional professional development programs often fall flat.  In this episode, Chris Saa ... Show More
53m 11s
Dec 2024
Investing & Fundraising - The Truth About VC w/ Nick Crocker (Replay)
How much value do VCs truly bring beyond their capital? And what makes the difference between a supportive partnership and a dysfunctional founder-investor relationship? In this episode, Chris Saad and Yaniv Bernstein welcome Nick Crocker, General Partner at Blackbird Ventures, t ... Show More
54m 38s
Oct 2024
20VC: The Truth About Multi-Stage Firms; Why Portfolio Services are for VCs not Founders | Why Politics is Rife & Decision-Making is Broken in Large VCs | Why Reserves are Bad for Founders & How Bouti
Mark Goldberg is a Managing Partner and Co-Founder at Chemistry, a $350M fund announced just yesterday with the mission to lead the best seed and Series A rounds. Before Chemistry, Mark was a Partner at Index Ventures, where he led early stage investments in Plaid, Bridge, Pilot, ... Show More
56m 21s
Jun 16
Apps Are Obsolete: How Startups Can Leverage the New Era of AI Agents (Spotlight)
What if your next startup competitor doesn’t have a single employee?AI agents aren’t just another software trend — they’re redefining the interface between humans, data, and execution, yet many founders still confuse basic chatbots with the true potential of these agents.In this ... Show More
46m 43s
Dec 2023
THE BIGGEST STARTUP OPPORTUNITIES IN 2024 BY LEAN STARTUP GUY ERIC RIES
Greg interviews Eric Ries, author of "The Lean Startup" and founder of The Long Term Stock Exchange.They talk about how to test business ideas, why businesses with a social mission will outperform, and opportunities in AI.►►Subscribe to Greg's weekly newsletter for insights on co ... Show More
46m 41s