3 ms·
The computer is actually has a von Neumann architecture, that is, they have code and data in the same address space. To the degree that C represents this reali
by barrkel 17y ago
The computer is actually has a von Neumann architecture, that is, they have code and data in the same address space.
To the degree that C represents this reality, it is through exploits: e.g. buffer overflows, overwriting the stack and return address, and executing arbitrary code supplied by attackers. C itself does not represent the reality very well, since it does not lend itself to writing code that writes code at runtime.
- jacquesm 17y ago> The computer is actually has a von Neumann architecture, that is, they have code and data in the same address space. The ones that do not are actually pretty rare. Most of those use the 'harvard architecture' and are DSP style machines. And then there are vector processors and SIMDs, but even those can be seen as many von Neumann machines running in lock-step.
- barrkel 17y agoThe (vast) majority of programmers are not programming DSP-style machines, so like I said, and I still stand by it, C doesn't map well to the full functionality of the von Neumann architecture.