Wait until they learn that machine code is not exactly how the computer works either. The hardware is doing things to your code you might not expect.
It’s how the hardware is modeled.
Hardware works as physics allows, at energies we can’t comprehend.
A computer is designed to a spec we can (sort of) comprehend. Spectre and such being evidence we don’t fully comprehend it.
It’s a recursive back and forth of this is a structure, this is the favored algorithm for that structure.
The hardware is the structure. Physics provides the algorithms for operating on that structure.
Thinking like one can see inside the machine always struck me as absolutely ridiculous.
It exists in the world defined by physics. Crawling into our imagination, linking abstract pictures from textures together arbitrarily, doesn’t mean we’ve discovered something new.
We know all kinds of stuff can be modeled on a compute because reality already gave us the math model.
We’re just brute forcing implementation looking for simple models for things we already have