- The Ethereum Virtual Machine (EVM) runs and executes the code of smart contracts on the Ethereum blockchain
- the EVM can run smart contracts compiled into Bytecode from solidity or viper which are the programming languages for Ethereum
- What is the relationship between the programming language Solidity and Bytecode?
Bytecode is the compiled version of solidity. solidity is a high level syntax algorithmic language while Bytecode is the native machine level instructions the EVM can execute - Why canât Bitcoin run the same type of complex programs like Ethereum can?
Because the programming language of Bitcoin is not Turing complete and only allows some very limited operations - What is a Turing Complete programming language?
A turing complete language is a programming language which includes all mathematical operators to solve any mathematical problem, at least in theory (in practice the time to complete a code could becomes impractical)
1. What does the EVM do?
The EVM (Ethereum Virtual Machine) runs on top of each ETH node and uses the hardware of that node to execute a smart contract, without directly exposing the hardware for security reasons.
2. What is the format of the instructions that the EVM can read?
The format the EVM can read Bytecode.
3. What is the relationship between the programming language Solidity and Bytecode?
The relationship between the programming languages â The programming language of Solidity is the code that the program is written in and then it gets run through the compiler to create the Bytecode which the EVM can read.
4. Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin can not be run complex programs like Ethereum can because Bitcoin is not Turing Complete programming language. Bitcoin is built for simple code.
5. What is a Turing Complete programming language?
A Turing complete programming language is one that can solve any computational problem.
The EVM (Ethereum Virtual Machine) works by acting as a layer of separation between the smart contract code and the CPU. It takes code, interprets it, then passes it to the CPU.
The format of instructions the EVM can read is conditional; âif this, then do this.â EVM only reads byte code. You would program in Solidity, use a compiler, then the resulting byte code is what EVM reads.
Bitcoin canât run the same types of programs that Ethereum can because Bitcoin uses the language Script which is not Turing Complete, meaning it does not support looping. Solidity is Turing Complete.
-
What does the EVM do?
Execute the smart contract on an etherium node -
What is the format of the instructions that the EVM can read?
Bytecode -
What is the relationship between the programming language Solidity and Bytecode?
You program in Solidity then use a compiler to change to bytecode -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
It doesnât have a mechanism to execute complex programs -
What is a Turing Complete programming language?
The tie of language on Ether it had the ability to loop
-
What does the EVM do?
It stands for Ethereum Virtual Machine, it executes the smart contacts into byte code which later will be run as machine readable code on a CPU. Its placed between smart contacts and the CPU so its secured. -
What is the format of the instructions that the EVM can read?
It reads Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Solidity is the programming language which is compiled into Bytecode which then an EVM can execute. -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Because the programming language of Bitcoin is not Turing complete, which only allows for limited operations. -
What is a Turing Complete programming language?
Is a type of language that is able to execute all kinds of complex instructions such as loops.
- EVM reads the Bytecode compiled from smart contracts.
- Byte code
- Solidity is easy to understand and write. Then, the compiler will translate that document to Bytecode that will be read by EVMs.
- Because of security issue and also the limited in block size.
- Turing Complete programming language has loops.
-
The EVM reads and executes smart contracts.
-
EVM reads the instructions in byte code, so it needs to have your CPU compile solidity script code into byte code before it can execute.
-
Solidity is like English, while Bytecode is the language that the EVM can understand and execute the smart contracts.
-
Bitcoin uses a programming language called Script, which is a Turing-incomplete language, meaning that it is limited in the complexity of programs it can execute due to the lack of the loop function.
-
A Turing Complete language is a programming language that can theoretically be programmed to do anything.
Homework on EVM - Questions (Updated on Dec 3 2019)
-
What does the EVM do?
The Ethereum virtual machine executes code on the ethereum network in such a way that all are in consensus on what the result should be.The EVM reads the code and translates it to EVM byte code which then tells the cpu what to do -
What is the format of the instructions that the EVM can read?
byte code -
What is the relationship between the programming language Solidity and Bytecode?
The EVM reads the solidity programming language and translates it to EVM byte code and then passes the instructions to the cpu -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bit coin reads only script -
What is a Turing Complete programming language?
Ethereum is a Turing Complete Language that allows loops .
-
EVM is Ethereum Virtual Machine which is a piece code that can read and execute smart contracts, also the EVM ensures that nothing will happen to the smart contract it provides a shield of protection and talks to the CPU.
-
The format must be in bytecode which is compatible to solidity the language used to program on the ethereum network.
-
The smart contract is programmed in Solidtiy, but gets complied in bytecode which the EVM reads and execute on the network.
-
Because it is not turing complete meaning it can not solve all problems, the (script ) the language which is used to program bitcoin is very limited in solving issues. Also bitcoin programmers didnât want loops or spammers changing the code. Bitcoin developers wanted to keep bitcoin digital gold.
-
Turing complete means you can program anything you want on the network. A more complex programming language i.e solidity.
- An EVM is Ethernet Virtual Machine and It creates a state or collective environment that is shared by nodes and can receive and store complex instructions in executing future transactional operations.
- The EVM reads Bytecode.
- Solidity compiles the human readable programming language of itself into bytecode and that is then used to instruct the EVM.
- Bitcoin runs on SHA-256 and is not a Turing Complete language. Bitcoin does not have the ability to store and perform complex instructions.
- Turing complete languages have the ability to run loops allowing for more complex abilities.
2. What is the format of the instructions that the EVM can read?
the EVM does not read solidity, it just can read ByteCode.
If you have any more questions, please let us know so we can help you!
Carlos Z.
1.What does the EVM do?
EVM reads instructions from a
Smart Contract and then pass it on to CPU for execution.
2.What is the format of the instructions that the EVM can read?
EVM can read Bytecode
3.What is the relationship between the programming language Solidity and Bytecode?
Solidity and other programming languages use a
compiler to translate the code to Bytecode
4.Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is not turing complete which limits its functions
5.What is a Turing Complete programming language?
Program that can create loops like Solidity
- What does the EVM do?
The Ethereum Virtual Machine (EVM) reads and executes the instructions of a smart contract on the blockchain. It also protects the network because it doesnât allow smart contracts to break free and do certain harmful actions to the computer that holds the node.
- What is the format of the instructions that the EVM can read?
The EVM reads only Bytecode.
- What is the relationship between the programming language Solidity and Bytecode?
Programmers write the smart contracts in the programming language called Solidity and then that code is converted into Bytecode when it actually appears in the smart contracts.
- Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is written in the language Script, and Script is not Turing Complete. Solidity, the language of Ethereum is Turing Complete and this allows for the Ethereum Network to run complex programs.
- What is a Turing Complete programming language?
A Turing Complete language has enough complexity so that it is possible for complex sets of instructions to be programmed into it.
1.What does the EVM do? Executed machine code like a CPU
2. What is the format of the instructions that the EVM can read? Bytecode
3. What is the relationship between the programming language Solidity and Bytecode? Bytecode can just be a compiled version of solidity
4. Why canât Bitcoin run the same type of complex programs like Ethereum can? Bitcoin uses script and is not Turing complete
4. What is a Turing Complete programming language? A universal language that can do anything
Send instructions to the cpu nodes n reads the compiled data(smart contract rules)(etherium virtual machines)
2.solidity/smart contract
3.solidity is turing complete
Basically they are a process relationship solidity language/data id compiled into a bytecode
4.its not turing complete,
They dnt want spammed transcations
5.solidity
-
The EVM is a protective virtual machine layer that runs on top of the Ethereum network. Run as an application, each nodeâs EVM reads and executes the same smart contract code and if they all resolve the same, they can reach consensus on it. The EMV protects the nodeâs CPU from potential malicious code by acting as a virtual proxy to the CPU.
-
The EVM reads Bytecode
-
Smart contract code is written in Solidity. The code is then compiled into Bytecode, which the EVM then can read.
-
Bitcoinâs Script language was too primitive and lacked the Turing completeness and looping capability that Solidity provided Ethereum.
-
A Turing complete language is one capable of simulating the computational aspects of any other general purpose programming language. Most programming languages are Turing complete.
-
The EVM is a virtual machine that is an intermediate between a computers CPU and a smart contract. It can read the smart contracts that are on the Ethereum network by accessing the local computers CPU.
-
The format the EVM reads is Bytecode.
-
The programming language Solidity is used for users to program smart contracts on Ethereums network. Solidity then converts the smart contract into Bytecode. The Bytecode is then used by the EVM to read/execute the smart contract.
-
Bitcoin is unable to run the same type of complex programs like Ethereum because they use a programming language called Script that is not Turing Complete. The language has minimal capabilities. Ethereum uses Solidity which is Turing Complete and allows them to program complex programs.
-
A Turing Complete programming language is a language that can be used for any computational problem and theoretically can solve all kinds of problems.
1.) The EVM is a piece of code that runs on all nodes simultaneously. It is an application that reads and executes smart contracts and instructs by providing the instructions of those smart contracts to all nodes in the network.
2.) The format of the instructions that the EVM can read is byte code.
3.) The programming language of solidity which is similar to the English language uses a compiler to create the byte code used as the instructions in the smart contract.
4.) Bitcoin cannot run complex programs like Ethereum can because it uses a very primitive script language which although can be programmed for very basic contracts is lacks the dynamic programming capabilities that Ethereum is capable of.
5.) A turing complete programming language is a dynamic programming language on Solidity that allows anything to be programmed. Turing Complete programming language utilizes âloopsâ that tells software to read and execute tasks repeatedly however many times needed.
-
What does the EVM do?
Answer: EVM will read and execute the smart contract (instructions), execute those instructions in bytecode and then tell the CPU to perform a taskâŚthen every EVM on the network agrees on that same conclusion to create consensus. -
What is the format of the instructions that the EVM can read?
Answer: Bytecode -
What is the relationship between the programming language Solidity and Bytecode?
Answer: Solidity is the smart contract programming language that ETH uses. That code is then compiled into bytecode and executed by the EVM. -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Answer: Because Bitcoin is not Turing Complete. -
What is a Turing Complete programming language?
Answer: A language that theoretically allows for the creation of anything you can think of within the code because it has the ability to perform infinite loops - so you can program the software to do the same thing many times.
-
EVM - Ethereum Virtual Machine reads smart contracts in bytecode. If all NODES agree on it EVM tells CPU to execute it.
-
EVM reads in Bytecode
-
Solidity is a programming language for contractâs instructions, which is compiled in Bytecode so EVM can read it.
4.Bitcoin programing language - Script - is not Turing complete, which lets to solve very simple problem (ex. multisig), however it prevents scam and scalability issues
- Turing complete programing language (ex. Solidity) can create loops, which lets solve more complex problems, such as repeating something x times.