You can’t really tell a particular piece of hardware is running software by a direct physical measurement. You can only infer that indirectly.
You can’t really tell a particular piece of hardware is running software by a direct physical measurement. You can only infer that indirectly.
You can wire voltage to CPU pins without software.
No. Because software is hardware.
> You can’t really tell a particular piece of hardware is running software by a direct physical measurement. You can only infer that indirectly.
You can literally step through code. Have you ever used a debugger or a profiler? You can dump memory, check the registers, read off the disk, etc.
If software was silent, invisible and intangible, you couldn't store it on disk, or copy it to memory. A computer wouldn't work if software was as you describe it.
But what's interesting isn't your mistake, it's why the mistake was made. The abstraction stack in software is really, really really thick. You don't normally "measure" your software, you add a log statement or run a debugger, and that's more software. And those debuggers aren't written over hardware, they're software too.
But eventually, you get down to the point where there really is hardware in the way. A debugger that tells you the content of a memory address really is, down the stack, doing a memory read, which is an instruction to hardware to measure the voltages in an array of inverter pairs structured as a level 1 SRAM[1]. Or it's setting a breakpoint or watchpoint, which are CPU features implemented in hardware, etc...
The hardware is always there, but we've done such a good job of hiding it that even practitioners are fooled into thinking it isn't there.
[1] And of course there's a stack there too. But read instructions hit the L1 cache.
The point of the dragon in the garage isn't that you can't measure it directly. It's that you can't measure it at all. It has no observable effects at all. Software definitely has observable effects, as do trees and almost everything else that people accept as real.
Nothing like an invisible dragon you might claim exists without any of the above.