The 14th chapter of software, hardware history of the ups and downs in a sigh!
not sleeping, feeling and writing. Truth hurts, good language bitter, mountain stream, highbrow.
I feel that the computer has developed into a dead end. We seem to be just in circles, from the original compilation of Unix operating systems, to today's C language written by Windows, LINUX. We should reflect, in the end, a lot of technical progress? Or are you in circles? From the Assembly, to the C language, the scripting language, to C + +, C #, JAVA, to VB and so on so-called high-level language, seems to have made a lot of progress. We object-oriented programming ah, abstract class, and gradually close to the natural language. It's true? I'm extremely skeptical! The natural language of human is the description of all things in the universe and the 6D space-time. Computer language is still far away, just imitate some of it. Matter, consciousness is the opposites body of eternal movement, space 3D, time 1D. And regardless of matter, consciousness this 2D first, even if we use the plane 1D storage space to describe 3D space, also should not abandon the time 1D ah. With each instruction of assembly language, we all know the execution time of the instruction, and the change of storage space caused by the instruction. and C and after the computer language, but abandoned the visual representation of the time of 1D. Is this progress? Or is it backwards? You may say, C and after the language: beautiful, concise, and assembly language complex, difficult to understand, need to deal with hardware. In fact, please do not use the Intel, AMD and other CPU assembly instructions, those are garbage in the water glass! It's a fighter in the garbage heap. The real assembly language is only 7 basic statements: Assignment instruction, copy instruction, BTX (bit x Test 1, or 0 transfer) instruction, check table Jump command switch (RN) {...}, register shift with cyclic instruction s (rd = RN s N), Register's three operand operation instruction (rd = Rn1alu RN2 S #N), Invoke and return instructions (call, RET, IRET). The instruction size is basically 32 bits, one word w; instruction execution time, usually 1ns. Plus some special hardware module instructions, a total of more than 10 kinds of instructions; you say, which language is not dozens of kinds of reserved words. So, or assembly language is the simplest sentence! Understand! Dealing with hardware, that's the operating system, really needs to understand, and operate the hardware, but also the assembly is easy to operate. Concise, I admit, but those chicken and duck intestines-like code, see on the annoyance, C language can be written very tight, but the opposite is not clear. The procedure should be simple and clear; If, also want to give up the visual representation of time 1D, that really is backwards!
Object oriented? Assembly language is also simple! We should know that the nature of the object is a 1D plane of storage space, is a bit of the container. Just from having the same bit container object, we abstract out the concept of the class. Variables are also used to describe a 1D planar storage space, so an object is a variable. C and after the language Operation object, and ultimately not compiled into assembly language! APO's assignment directives can directly manipulate member objects, or variables, in object space. We can also assign variables to registers, then transform, calculate, and so on. objects, variables are simply declarations of storage space, their corresponding addresses; that's the compiler thing. assembly language Object-oriented programming is natural and simple. So, C + +, JAVA, and so on object-oriented languages. That is the children's toys to coax children, it is the false red-faced beast, it is unrealistic huaquanxiutui, it is the cart before the horse. I really don't know, is that the case? But think about it, we are all living in the garbage world, we feel safe point. I guess the programmers who used to write Unix operating systems in the first place, invented the C language for grace and brevity, and then, smug, did a bad leader without knowing. Perhaps those high-tech brains like to be in a complex, dirty place, not like our amateur stupid birds are like simple. The application can only walk in its own object, variable space, the process can only communicate through the signal, the message, through the dynamic variable submission to enlarge the data volume Exchange, these, the hardware is very easy to implement. But Intel's CPU structure that 4 permissions, memory page mapping, and so the very complex hardware design, I read a few times to understand some; I really don't understand what these smart cubs think! Fainting, for personal gain, and should not hinder human progress Ah!
Sometimes, beautiful, concise, art really no fart use, programming ideas is the key! Your Linux operating system bullish, the kernel written in C nearly tens of thousands of lines of source code; Do not say that the cover of the Pocket burglar windows, and a fart beautiful, concise, artistic ah. Ghosts can not read all the source code AH. I'm an amateur stupid bird. The APO operating system is less than 4K line code, Linux does not blush! No device drivers, APO OS kernel source code is less than 1000 lines; so I'm going to integrate the database, browser, word Office software, xwindows, etc. into the kernel. Now, is that graceful, concise, artistic, strong should know. Just say file system, APO, in some projects will be faster than Linux near millions. databases, and so on, are much more powerful than modern operating systems. No blow, no cows dead; I'm not really happy at all; as an ordinary amateur of mankind, I only have a sigh of sorrow!
It was dawn and a sleepless night.
The 14th chapter of software, hardware history of the ups and downs in a sigh!