METACOMPILER book cover

METACOMPILER

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.

Download Free Buy on Amazon

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. Her neurosurgeon father fitted her with cochlear implants at two and an experimental optic nerve interface at twelve, giving her the ability to perceive the electromagnetic spectrum—to hear WiFi, see data, feel the computational heartbeat of every device in range. When her fiancé's car is remotely commanded to accelerate on a California highway, Kali discovers a compiler-level backdoor that has existed in every computing device on earth since the 1970s, now weaponized by Russian military intelligence into a system that can kill through any connected machine.

To destroy it, she must build a clean compiler from scratch, construct a distributed supercomputer from hundreds of thousands of hijacked devices, and answer the question her allies keep asking: How are you different from the people you're fighting? The answer will require her to create the world's first artificial general intelligence—not as a weapon, but as a child.

“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 16 languages. Free forever.

English
Spanish
América Latina
Spanish
España
French
Français
German
Deutsch
Italian
Italiano
Portuguese
Brasil
Portuguese
Portugal
Japanese
日本語
Hindi
हिन्दी
Russian
Русский
Ukrainian
Українська
Korean
한국어
Polish
Polski
Turkish
Türkçe
Swedish
Svenska

Buy on Amazon

Kindle
$0.99
Buy Kindle
Paperback
$9.99
Buy Paperback

If you enjoy the book, please leave a review on Amazon. Early reviews help other readers find it.

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.

Read the Full Story →

About the Author

Michael Barr has spent three decades inside the machines most people never think about—the firmware in your car's throttle controller, your pacemaker, your insulin pump. As CTO of Barr Group, he has consulted on embedded software for clients from startups to the Fortune 100. As an expert witness, he has testified more than twenty times in U.S. and Canadian courts.

In 2013, Barr served as the lead software expert witness in a Toyota unintended acceleration trial—the only such case to reach a jury verdict. His team spent eighteen months examining millions of lines of engine control software.

He is the author of three technical books, including Programming Embedded Systems in C and C++ and the Embedded C Coding Standard, and has published more than seventy articles on firmware design, real-time operating systems, and software security.

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