Welcome to the world after Brexit: Here's what happens next

Brits shocked by Brexit
Brits shocked by Brexit
UK's David Cameron to step down
UK's David Cameron to step down
British pound hits record lows
British pound hits record lows

A majority of British voters decided that the United Kingdom should leave the European Union, and Prime Minister David Cameron announced his resignation. Global markets are moving wildly, and currencies are making big moves, but the actual political process will be much, much slower.

First — technically speaking — the referendum is not legally binding. In theory, Cameron, who plans to leave by October, could ignore the will of a slight majority of voters, and not make any moves to exit the political and economic bloc.

But Cameron, who led the campaign to remain in the EU, is likely to invoke Article 50 of the Lisbon Treaty, which begins the legal process for leaving the bloc.

"The British people have made the very clear decision to take a different path and as such I think the country requires fresh leadership to take it in this direction," he said Friday in a televised address outside his residence. "I do not think it would be right for me to be the captain that steers our country to its next destination."

Once Article 50 is invoked, a series of negotiations would begin about how to disentangle the U.K. from the many EU structures to which it is a party. The process could take two years or more, if both the U.K. and the European Council agree to extend the discussion period.

Cameron has said this process would be irreversible.

"We should be clear that this process is not an invitation to rejoin, it is a process for leaving," he said in February.

Some have suggested that British leadership could avoid invoking Article 50 all together, and would instead attempt to negotiate a different — not entirely separate — relationship with the EU.

In the more immediate term, markets are going to react in a big way. The Brexit has no historic precedent. No precedent means volatility in markets, probably on a global scale.

If there's one near-definite result that experts can safely predict around a Brexit, it's that it increases the amount of uncertainty in markets. Market watchers have predicted a global flight to safer assets — and indeed, that appears to have already begun: Gold futures, the classic safe-haven asset, rose more than 8 percent at one point, before paring some of those gains.

Asset prices told a story of a shocking turn of events that polls failed to predict and which markets failed to price in correctly:

Equities futures across the globe took a dive, with the Dow implied to open down more than 700 at one point. Although that loss was pared after the market open, the Dow ended the day down 610 points or about 3.4 percent.

Asia was also rocked by the referendum, with Japan's Nikkei index down about 8 percent.

Perhaps the greatest effect from the leave victory, however, was felt in British pound sterling, which plummeted to a 31-year low against the dollar. It was last down more than 6 percent at $1.3636.

The dollar index, meanwhile, rose 3 percent at one point, setting it up for the biggest daily gain since 1978, according to Reuters. It was last up about 2 percent at 95.43.

Treasurys also felt the Brexit, with the U.S. 10-year hitting 1.507 percent — its lowest level since Aug. 3, 2012 when the 10-year yielded as low as 1.471 percent. The yield was last at 1.5728 percent.

For the larger macroeconomic argument behind all this uncertainty, read here.