การแก้ไข · 3
Numbers
Suddenly I realized that any executable program is a very long number itself.
It seemed strange, but I've never thought in that way. And now I think it's amusing.
An executable machine code is a sequence of nulls (we usually say ones and zeroes, also a null in programming is an object and not a number) and ones 00000101....
It means that any program could be represented in decimal: (this would be a really bad representation, a hex representation is easier to read and to interpret if you're a really smart chap)
When we take a photo of something, we just write a very long number. When we feed this number to a program later, it will interpret the number to a photo on the screen.
Or when we power on our cellphone, it reads in order different numbers from flash memory and the result is - android with a lots of applications.
And so on.
Maybe everything around us are only numbers itselfthemselves? (I'm not really sure whether to treat everything as singular or plural)
on a side note you can actually read the machine code if you have the instruction set of your target, this is usually a list of all instructions that the target can execute in assembly code, it's really simple once you get the concept, you can even program in binary!
ต้องการความก้าวหน้าที่เร็วขึ้นหรือไม่
เข้าร่วมชุมชนแห่งการเรียนรู้และทดลองใช้แบบฝึกหัดฟรี!
Don’t miss out on the opportunity to learn a language from the comfort of your own home. Browse our selection of experienced language tutors and enroll in your first lesson now!
Start Learning Today
