Chris Novick

Finance Isn't Boring. You Just Never Saw the Machine.

You were lied to

Most engineers got exactly one formal brush with this world: an economics course somewhere in undergrad. Macro, probably. Maybe micro. Supply and demand curves, GDP, inflation, the Fed moving rates, a lot of graphs where two lines cross. You passed it, forgot most of it, and walked away believing finance was arithmetic with a policy angle. Accounting with a nicer suit.

That course wasn't lying, exactly. It was showing you the wrong layer. Economics is the theory of why markets exist. Nobody ever showed you the machine that actually runs them.

Finance is one of the largest, oldest, most heavily engineered systems humans have ever built. It's a machine that moves trillions of dollars a day across every border on the planet. It has its own protocols, its own consensus mechanisms, its own failure modes, and its own adversaries. It has been running in production for centuries, and it has never been allowed to go down.

If someone had shown it to you as a system instead of a subject, you would have been hooked. I'd bet on it.

The oldest distributed system

Strip finance down to its core problem and it looks like something you've already solved at work. Many parties who don't trust each other need to agree on who owns what, and they need that agreement to survive disputes, fraud, and time.

That's a distributed state problem. Humanity has been solving it for about 5,000 years.

The first solutions were clay tablets in Mesopotamia recording grain debts. Then came double-entry bookkeeping in Renaissance Italy, which is basically an invariant check: every debit has a matching credit, and if the books don't balance, something is broken. Then contracts, notaries, stock certificates, clearing houses, and central banks. Each one was a patch for a failure mode someone discovered the hard way.

Law and paperwork were the original protocol layer. A signed contract is a message format. A court is an arbitration mechanism. A regulator is a runtime enforcer. None of it was called engineering, but all of it was.

Then the paper turned into spreadsheets. The spreadsheets turned into mainframes, then proprietary software, then networks. The rules never went away. They just got compiled into code.

The plumbing nobody shows you

When you tap "buy" on a brokerage app, it feels like one action. It isn't. It's a pipeline.

Your order becomes a message, very often in FIX, a protocol that dates back to the early 90s and still carries a huge share of the world's order flow. It gets routed by software deciding which venue gives you the best price. It lands at an exchange running a matching engine: a piece of software whose entire job is to maintain an order book and pair buyers with sellers in strict price-time priority, deterministically, millions of times a second.

The exchange then broadcasts what happened over market data feeds, often tightly packed binary protocols built so machines can parse them in nanoseconds. Then the trade goes to clearing, where a central counterparty steps in the middle so neither side has to trust the other. Then settlement, where ownership and cash actually move. In US equities that now happens one business day later. It used to be five.

Across borders there's another layer of messaging networks just for banks to tell each other money moved. Under all of it sit risk systems, margin calculations, reconciliation jobs, and audit trails.

If you've ever designed a system with queues, idempotency, two-phase commits, and failure recovery, you already understand the shape of this. Finance just runs it at planetary scale with real money and real lawyers.

Financial instruments are programs

Here's the reframe that changed everything for me: a financial instrument is a program that executes against the future.

A stock is simple. It's a claim on a slice of a company. A bond is a schedule of cash flows with a failure mode called default. A future is an agreement to trade something later at a price fixed today. An option is a function: it pays out based on where a price lands, but only if you choose to exercise it. That asymmetry is the whole point.

Then people started composing them. Swaps that trade one stream of payments for another. Options on futures. Instruments that pay out based on volatility itself. Bundles of loans sliced into layers, each layer absorbing losses in a defined order. These are literally conditional logic and dependency graphs, written in legal language and priced with math.

And pricing them is its own discipline. Stochastic calculus, Monte Carlo simulation, numerical PDE solvers, calibration against live market data. A lot of what people call "quant finance" is applied math and scientific computing wearing a different badge.

When a composed instrument fails, it fails like software fails. Hidden coupling, bad assumptions about correlation, edge cases nobody tested. 2008 was, in part, a dependency graph nobody fully understood.

The arena

Now add adversaries.

Markets aren't just plumbing. They're a competitive arena where highly specialized teams fight every single trading day. Market makers, arbitrageurs, statistical traders, macro funds. Each is trying to see something a little sooner, understand it a little better, and act on it a little faster than everyone else.

The speed side of this war is absurd in the best way. Firms have dug straight fiber lines between Chicago and New Jersey to shave milliseconds. Then others built chains of microwave towers because signals travel faster through air than through glass. Today the fight is in nanoseconds: custom network cards, FPGAs, kernel bypass, hand-tuned code paths where a cache miss is a material cost.

The brains side is just as intense. Predict the next price move. Learn from decades of historical data without overfitting to noise. Model how your own orders move the market. Adapt when the regime shifts and yesterday's edge disappears overnight.

And unlike most software, the feedback is immediate and honest. Your system either made money today or it didn't. There's no stakeholder meeting to spin it. I work at a trading firm, and I can tell you: it's the most demanding engineering environment I've ever been part of.

The machine, rewritten in public

Then something wild happened. People started rebuilding the whole machine from scratch, in the open, as code. And no, I don't mean the dog coins and the cartoon monkey JPEGs. I mean the other part.

Whatever you think of crypto, decentralized finance is a remarkable engineering experiment. The ledger is a blockchain. Consensus replaces the clearing house. Smart contracts replace a lot of the paperwork and lawyers. Settlement can happen in seconds instead of a day.

And the designs are genuinely new. Automated market makers replace the order book with a pricing formula: you trade against a pool of assets, and a curve sets the price. Lending protocols run collateral and liquidation logic with no loan officer. Flash loans let you borrow millions, use them, and repay them inside a single transaction, or the whole thing reverts as if it never happened.

The adversaries showed up too, and they're fully visible. Bots watch pending transactions and race to front-run them. Searchers compete to order transactions profitably within a block. Exploits drain protocols because one line of logic assumed something it shouldn't have.

For an engineer, it's a gift. Traditional finance hides its source code behind NDAs. DeFi publishes it, along with every transaction ever made, and lets you watch the battle play out live.

There's a catch, though. A blockchain only knows what's on its own ledger. It can't see the price of oil, whether a shipment arrived, or what's happening on the chain next door. Right now most of these networks are islands, like the LANs of the 1980s: capable on their own, mostly unable to talk to each other.

The layer that fixes this is being built now. Oracle networks bring real-world data on-chain in a way contracts can trust. Cross-chain messaging protocols let value and instructions move between ledgers, and increasingly between blockchains and the banks' own systems. If it works, it's the TCP/IP moment for this machine: the jump from a pile of LANs to an internet of value.

Look at it like an engineer

So here's my ask. Next time finance comes up, don't think "math class." Think "system." Ask the questions you'd ask about any system you inherited:

  • What's the state, and who's allowed to change it?
  • What's the protocol, and what happens when a message is lost or late?
  • Where are the trust boundaries, and who enforces them?
  • What are the failure modes, and which ones have already happened?
  • Who are the adversaries, and what are they optimizing for?

Ask those questions and finance stops being arithmetic. It becomes a centuries-old distributed system, a library of composable programs that execute against the future, and a live competition between some of the sharpest people and fastest machines on Earth.

Nobody told you it was this interesting because the people explaining it weren't engineers. Now you know. Go take a look under the hood.

Originally published on X