Homework on EVM - Questions
-
What does the EVM do?
The EVM is an application/code that runs on top of existing nodes to form consensus. The EVM tells the CPU what to do after it reads the smart contract. The CPU does not have the power to directly interact with the smart contract for security purposes. -
What is the format of the instructions that the EVM can read?
The format of instructions that the EVMs can read is bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Programmers use solidity code to compiled smart contracts to bytecode so that the EVM can read it. -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin uses script which is not turning complete and does not have the ability to be programmed for loops. Bitcoin did not want loops in order to prevent spam on the network and decrease the size of its blockchain. -
What is a Turing Complete programming language?
Ethereumâs Solidity is a Turing Complete programming language. Turing Complete means that it has the ability to perform code several times in a row, and without it you would have to write the code over again each time. Ethereum has scalability issues because of Solidityâs Turing Complete loops.