2. What is the format of the instructions that the EVM can read?
Yes, but that is not the correct answer to the question, maybe you want to redesign it.
If you have any more questions, please let us know so we can help you!
Carlos Z.
2. What is the format of the instructions that the EVM can read?
Yes, but that is not the correct answer to the question, maybe you want to redesign it.
If you have any more questions, please let us know so we can help you!
Carlos Z.
2. What is the format of the instructions that the EVM can read?
3. What is the relationship between the programming language Solidity and Bytecode?
Quite close sir, but Solidity is the programming language that you use to create/design smart contracts, after that, it will be compiled into ByteCode, so the format of the instructions that EVM reads is Bytecode.
If you have any more questions, please let us know so we can help you!
Carlos Z.
5.What is a Turing Complete programming language?
Quite right close, but that could be one of the abilities of the Turing Complete programming language, could you please describe it in general terms?
If you have any more questions, please let us know so we can help you!
Carlos Z.
appreciate the correction
1.The EVM runs on all nodes of the Etherium network. It runs all the transactions and tell the CPU what to do.
2.The EVM can read Solidity EVM byte code.
3.Solidity is the language used to create Etherium. Bytecode is the EVM language taken from the Solidity compiler.
4.Bitcoin uses Script a language that is not Turing Complete and has limitations. Etherium on the other hand uses Solidity which is Turing Complete and has many smart features including Loops.
5. A Turing Complete language can be programmed to do anything. It can solve any computation no matter how complex.
Homework on EVM - Questions (Updated on Dec 3 2019)
The EVM provides a sandbox for the byte code to run on.
Byte code.
Solidity is read by the EVM and converted into byte code to run.
The developers have left the bitcoin code Turin incomplete to avoid the extras on top.
It is a programming language with no programming limits.
The EVM is the bridge between the Ethereum blockchain and the individual PCs that make up all of itâs nodes. It is responsible to reading and executing commands contained within the smart contracts on the Ethereum blockchain.
Bytecode
Solidity is the language developers write smart contracts before they compiled into Bytecode which is the actual language that the EVM can read and execute.
Because it does not use a Turing Complete language.
One that can solve all the problems needed to execute itâs commands.
1. What does the EVM do?
A virtual machine or executor that runs smart contracts on every node in ethereum.
2. What is the format of the instructions that the EVM can read?
The EVM reads byte code compiled from Solidity
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity is similar to JavaScript and english that is compiled to bytecode.
4. Why canât Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin uses a programming language that is non-turing complete.
5**. What is a Turing Complete programming language?**
Non-turing complete means it cannot loop through instructions compared to turing complete where it can do the same set of instructions multiple times.
The EVM allows for execution of smart contracts on Ethereum.
Bytecode
Solidity complies smart contract instructions into bytecode, so the EVM can read them.
It doesnât use a Turing-complete language and is more limited in its applications.
A programming language that allows for more complex features like loops, etc., which in theory lets you build anything you want. (In practice, youâre limited by ETHâs lack of massive scalability)
The EVM runs the smart contracts and translate them to the CPU to interpret what the result should be. The EVM encapsulates the execution of the contract to avoid corruption of the actual machine and therefore avoid corruption of the network. By achieving the same result throughout all the EVMâs in the network Consensus is achieved.
EVM reads in the format of Bytecode.
Solidity is a Turing and Complete programing language with english sintax that has a compiler that translate the sintax into Bytecode, which is the format of instructions that an EVM reads.
Bitcoin can not run complex programs because its programming language is Script, which is not a Turing and complete language, it is very primitive; whereas Ethereum has Solidity which is a Turing and Complete language that allows it to write complex programs; through the use of loops for example.
A Turing and Complete language is a language that can write complex programs and perform repetitive calculations through the use of loops for example.
Format is bytecode which is written by Viper or solidity.
The EVM provides a level of security for the ETH blockchain by creating a barrier or safeguard for smart contracts that have malicious intent from accessing the full functionality of a nodes CPU.
The EVM instructional format is called Bytecode
The relationship between the programming language Solidity & Bytecode functions in a manner where the smart contract instructions is written in Solidity or (upcoming) Viper then compiled to Bytecode so the EVM can process and relay the information needed to preform the contract to the CPU.
Bitcoin canât run the same type of complex programs like ETH can because Bitcoin utilizes a language called script which is not a turing complete language and is unable to fulfill the level of tasks that the ETH blockchain is capable of.
A turing complete programming language is a programming language that is capable of running more complex programs, can utilize loops and is capable of solving issues that arise from more complicated code that BTC simply cannot handle with script.
The Ethereum Virtual Machine is software that executes contracts on the ethereum blockchain. A version of the EVM will run on each node of the blockchain interacting with the resources of the node. The EVMâs operational procedures protect the node from maliciously designed contracts.
EVM only reads Bytecode
Solidity is a statically typed language created for ethereum developers. As the EVM can only read bytecode the contract written in solidity is put through a compiler, which translates the contract from Solidity to Bytecode.
While Bitcoin was written in C++ it also has its own programming language called Script that is not Turing Complete.
A Turing complete language can solve any properly programmed computational problem given enough time. In general for a programming language to be Turing-complete it needs:
1.) The EVM is a piece of code or application that that runs on the CPU of the nodes. The EVM also reds and executes smart contracts and then tells the CPUs of the nodes to execute the code in said contracts. After all nodes complete these actions and reaches the same result consensus is reached. This is the EVM in a nutshell.
2.) The EVM reads Solidity as Byte code. So Byte code.
3.) Code is originally written in Solidity. After that you feed the code into an application known as a compiler. This takes what is written in Solidity and compiles it into Byte code. The Byte code is the ready to be read by the EVM.
4.) Bitcoin uses a language known as Script. Scripts is not a TC or Turing complete language. Solidity the language of Etherium id Turing complete.
5.) A Turing complete programming language is a language that can understand and implement any future agreement. Also it allows for loops which allows the program do one thing many times over. In theory a TC complete language allows one to create anything they can dream up.