|
|
|
|
|
by Isamu
2294 days ago
|
|
>it feels a bit like cheating. Because you know that somewhere, somehow, the code you write is translated to assembly instructions. To the machine language. I think you should go all the way, show the machine code along with the assembly language. Show them that in the end it's all numbers. Well, philosophically it's not even "numbers" per se, it's some physical tokens that are moved around in a manner that is isomorphic to a kind of arithmetic and logic. [edit] And yes, by "physical tokens" I mean voltages and not atoms, which you can argue are not "really" what is going on ... etc |
|
It's also a good introduction to pipelines and caches, when some bright spark tries to modify the next instruction and it "doesn't take" in the way the student expects.