(1) Virtual machine The basic idea of a virtual machine is to delete the hardware of a single computer and make it into another operating environment that behaves like a single computer. Basically, a virtual machine is software that runs an application and separates it from the actual operating system and hardware. We use CPU scheduling and virtual memory technology so that the operating system can cause the illusion that the process has its own processor and its own (virtual) memory.
Smart Contract uses a so-called virtual machine (VM). Basically, in the case of layman, the virtual machine is a machine that runs a Smart Contract and runs inside the computer of a miner or other verifier. VM is the environment in which Smart Contract works. Therefore, if you want to know the efficiency and efficiency of the Smart Contract, you need to analyze the VM. NEO's VM optimizes smart contract codes before running the contract. This means that it needs the code and reorganizes it to make it more efficient. Imagine your mother will give you a shopping list. If it is like my mother's list (she may oppose it), these items are not organized. However, organizing all the items into categories, collecting them all in the same part of the store (dairy, canned food, serial) will make the work faster and easier. NEO does this; Ethereum does not have it
If you have a PC that can run multiple virtual machines, the virtual machine does not know the distance between them. The virtual machine runs the application between them, but how does the application and service recognize if the virtual machine is running on Linux or Windows? Are they running on a machine or LAN? Or are you at the end of the Internet? In fact, the program in the virtual machine does not know the actual distance. This is the beginning of the network computer. The first is the separation of computing from the network, equivalent to Turing. Turing machine is a network-independent application that runs in a virtual machine called a program. You can not see phones, satellites, submarine cables, microwave ovens, 4G and 5G phones connected, just as you make a phone call. Users can not see the network. Treating a person as a computer is the same as Turing
Chen Rong answered Feng Wang's 10 questions - Why do I insist on building a block chain operating system?