METACOMPILER — A Novel by Michael Barr

3 min read Original article ↗
METACOMPILER book cover

A Novel by Michael Barr

Every computer on earth has a loaded gun inside it. Someone just pulled the trigger.
A techno-thriller grounded in real computer science and a premise that will make you side-eye every smart device in your house.

About the Book

In 1984, Turing Award winner Ken Thompson revealed that a compiler could be modified to insert an undetectable backdoor into every program it builds—and that no one could ever be sure it hadn’t been done. METACOMPILER is the novel about what happens when someone proves it was.

Kaliya “Kali” Devi was born deaf and blind. Experimental neural implants gave her hearing and the ability to perceive the electromagnetic spectrum—to feel WiFi like weather, read processor currents through her fingertips, sense every connected device in range. She co-founded the world’s largest social network, was recruited by the NSA at sixteen, and disappeared into the Santa Cruz Mountains with the only person she trusted.

Then his car was remotely commanded to accelerate off a California highway. The police called it driver error. Kali called it murder.

What she uncovers is not a hack. It is a weapon hidden inside every compiler on earth since the 1970s—three commands that can identify, read, and rewrite any connected device. Cars. Pacemakers. Ventilators. Traffic lights. Power grids. A foreign military has spent twenty years testing it, and the beta tests are over.

To stop it, Kali must build a distributed supercomputer from hundreds of thousands of hijacked civilian devices—exploiting the same backdoor she is trying to destroy. Her allies: a retired homicide detective who trusts nothing with a screen, and an ex-Navy SEAL turned FDA researcher who has been counting unexplained deaths for six years. Her enemies: two superpowers, both willing to kill her for opposite reasons.

The hardest question isn’t technical. It’s the one her allies keep asking: How are you different from the people you’re fighting? The answer will cost her everything—including the only father figure she has left.

For fans of Daniel Suarez, A.G. Riddle, and Marc Elsberg. Written by a firmware expert who led the Toyota unintended acceleration investigation.

“The most technically accurate depiction of a compiler-level supply chain attack I have read in fiction.”

“This is what Brad Taylor would write if he understood computers.”

Free Downloads

PDF and EPUB in 6 languages. Free forever.

How It Was Built

METACOMPILER was written by a team of AI agents under the direction of embedded systems expert Michael Barr. Using Claude Code by Anthropic, Barr built an orchestration system with three AI writers, three editors, and four specialized reviewers—producing 43 chapters in twelve hours, then spending weeks editing, rewriting, and fixing the things AI gets wrong.

A novel about the birth of AGI, built by AI, directed by a firmware engineer. The narrator is the AGI the protagonist creates—telling its own origin story from the future.

About the Author

Michael Barr is an embedded software expert with 30+ years of experience building firmware for safety-critical devices. He led the Toyota unintended acceleration investigation—an 18-month code review that uncovered critical defects in Toyota's engine control firmware—and has testified as a software expert witness more than twenty times in U.S. and Canadian courts.

He is the author of Programming Embedded Systems and the Embedded C Coding Standard, has published 70+ articles on firmware design and software security, served as Editor-in-Chief of Embedded Systems Design magazine, and is a named inventor on three U.S. patents.

METACOMPILER is the novel he has been qualified to write for thirty years.