Computer programs from the point of view of CPU

50 Views Asked by At

This might sound a bit naive, but, I'm unable to find an appropriate answer to the question in my mind.

Let's say there is an algorithm X, which is implemented in 10 different programming languages. After the bootstrap stage for every program, each program executes the algorithm over and over again. My question is that Would there be any difference from the hardware-level when they all execute on the same CPU?

What I understand is that the set of hardware resources (register, etc.) on each CPU are limited. Hence, executing a core algorithm should follow a similar (if not identical) pattern from the "fetch–decode–execute" cycle.

0

There are 0 best solutions below