- The EVM is a global machine that runs on top of the etherum blockchain. All the nodes on the blockchain runs the EVM and it can be used to run layer 2 functions like smart contracts.
- the EVM only reads bytecode.
- the EVM reads and executes bytecode, but doesn’t care which programme language the smart contracts are written in. It can be written in Solidity or Viper but will then be convered to bytecode for the EVM.
- Because the programming languge for BTC (script) is not Turing complete
- It means the language can code for everything you want.
-
EVM is a code that all computers on the ethereum network have that are running on top of the hardware of these computers. EVM tells the CPU what to do in regards to smart contracts.
-
Bytecode
-
Solidity is the code that is used to write smart contracts on ethereum. Solidity code is then assembled into bytecode by a complier in order for the EVM to read the smart contract. EVM does not care which programming is used so long as it is converted to bytecode.
-
Bitcoin’s programming language, Script, is not a Turing complete language, so it cannot run complex types of programs.
-
A Turing Complete programming language is a language that can run loops, which are pieces of code that allow the programmer to carry out an action several times without having to write out each line of code repeatedly.
-
A Ethereum virtual machine can read and execute smart contracts and code .
-
The standard format for EVM is byte code
-
Solidity is the programming language used to develop smart contracts, which then is passed through a compiler and converted into byte code to be processed by the EVM.
-
Script is a very primitive coding language in the sense that it has some extremely valuable use cases but it is limited in expansion.
5.Turing virutually allows for to complete all of tasks that you will need to get done.
- What does the EVM do?
- What is the format of the instructions that the EVM can read?
- What is the relationship between the programming language Solidity and Bytecode?
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
- What is a Turing Complete programming language?
- In short EVM executes a code on the network in a way that makes all Nodes come to a consensus about what the result should be. It runs on top of each node using all the resources it needs, it isolates, reads and execute smart contracts. All nodes will execute all the instructions of a particular smart contract and need to produce the same result.
2.Byte Code
3…EVM executes instructions with Bytecode but the codes will be written with solidity that compile to Bytecode.
4.Because Bitcoin doesn’t use solidity but uses Script which is Turing incomplete meaning its limited in what it can program.
5.Means You can solve all problems for programming applications and create whatever you can think off.
-
What does the EVM do?
The EVM functions like a shared CPU for the entirity of the Ethereum network. Each node runs a copy of the EVM, and each node can carry out the instructions laid out in a smart contract on the block chain. When all versions of the EVM reach the same conclusion, there is consensus on the blockchain. -
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?
Solidity is the programming language used on the Ethereum network to create smart contracts. This code is then passed through a complier and formatted to bytecode to be read by the EVM -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoins coding language, script, doesn’t have a loop function and is therefore not Turing complete -
What is a Turing Complete programming language
A turing complete language is one that allows you to solve all imaginable coding problems and in theory, create any application you want.
1 It is a peace of code running on all Nodes that reads the instructions of the Smart Contract, convert to ETH bytes and send to the GPU to be executed.
2 ETH Bytecode
3 Solidity is a programming language similuar to Javascript, and has a compiler that read the code and convert to Bytecode, that is the code the GPU can interpret.
4 Bitcoin language is NOT turing complete, meaning it is very limited and has no loops.
5 It is a complete language, where you can create complex programs.
Homework on EVM
1- Ethereum virtual machine where it read the SC and informs the CPU what to do and it is distributed on all nodes.
2-Byte Code
3-The compiler will compile the code and turn it into byte code.
4-which you can program whatever you want.
1. What does the EVM do?
The EVM (ethereum virtual machine) is a protocol to the ethereum blockchain that runs isolated to the computers in the networks. It is able to read a smart contract and execute the instructions. It ensures that no malicious smart contract is executed on the actual ethereum blockchain without first being executed and tested on the EVM. This makes it a very good security option for the network as smart contracts can be executed safely.
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?
Solidity is ethereum programming language. When a smart contract is initiated it translates the solidity language through a complier into bytecode which the EVM can read and execute upon.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
BTC cannot run the same type of complex programs because it programming language is script. This language is not turing complete meaning it cannot complete all computation problems it is presented.
5. What is a Turing Complete programming language?
A turing complete programming language is a that can be programmed to do basically anything as long as there is is computational power behind it e.i. power, time, etc.
Solidity is such a language.
-
The EVM (Ethereum Virtual Machine) reads the Byte code in smarts contracts and then if consensus is reached between the different nodes running on the Ethereum Network then the code is then passes on the information to your CPU to execute.
-
The format of the instructions is first written in Solidity and then ran through a compiler which turns the script into Byte Code which is then in turn read by the EVM (Ethereum Virtual Machine).
-
The relationship between EVM (Ethereum Virtual Machine) and Solidity is that the code is originally formatted in Solidity as it is easy for use to read as it is much like English. However the the EVM reads and executes code in a different language so a compiler is used on the Solidity code and the new format of the code is changed to Byte Code.
-
Bitcoin cant run the same type of complex programmes like Ethereum because the Bitcoin doesn’t have a Turing Complete language meaning it can not work out any problem. Ethereum does have a Turing Complete language (Solidity).
-
A Turing Complete language is a language that enables you to theoretically solve any problem. whilst this is possible in theory it is not so in practice as time and money are often factors that can stop developing a project. A Turing Complete language has the ability to run loops in a program meaning the same task can be completed several times over.
1 the Evm runs scripts like a virtual computer on top of a regular computer without affecting the computer
2 the evm reads solidity code
3 byte code is not turing complete meaning it can’t do all kinds of programs like loops
4 Bitcoin can’t run all kinds of code or it may interrupt or interfere in the regular process
5 Turing complete can run any type of code
1. What does the EVM do?
The Ethereum Virtual Maschine processes simply said converts the bytecode of a smart contract, written in Solidity.
It is important to say, that EVM is running in a kind of sanbox to keep other hosts safe.
2. What is the format of the instructions that the EVM can read?
An EVM can read code written in Solidity and also in VIPER which is a “new prog. language”
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity can be written buy humans, hopefully by me in a couple of weeks. And the EVM translate my lines written in solity into bytecode.
A simple relation between human, compiler and bytecode leads to actions.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin has ut`s own simpler language (SCRIPT). The suggestion from Vitalik was not really welcome in the world ob BC developers.
And this was the beginning of Ethereum
5. What is a Turing Complete programming language?
This languages can execute ANY mathematical operations. As example loops which do not exist in a simpler language
-
The Ethereum Virtual Machine functions on a peer-to-peer network of computers. The EVM interacts with a smart contract and communicates with the nodes on the network in order to securely implement the instructions contained within the smart contract and to establish network consensus.
-
The EVM reads Bytecode.
-
The Smart Contract instructions are written in a high-level programming language, like Solidity, and compiled to EVM Bytecode.
-
Bitcoin’s programming language, Script, is not Turing Complete and is insufficient for certain complex computational functions.
-
Ethereum’s programming language, Solidity, is a Turing Complete programming language and can execute complex computational tasks like recursive functions.
-
The EVM (Ethereum Virtual Machine) makes it possible for us to execute code on the network in such a way that we are all in consensus of what the result should be.
-
Bytecode
-
Solidity has something called compiler and compiler is a special application that will take your solidity code and compile logic and instructions to bytecode which then the EVM will read the bytecode.
-
Bitcoin uses Script as its programming language and Script is Not Turing Complete.
-
Ethereum has the capability to understand and implement any future agreement, even those that have not been through yet. In other words it is able to use its code to perform any task, just as long it has the correct instructions, enough time and processing power.
-
What does the EVM do?
The EVM is a piece of code that encapsulates the smart contract program in order to provide security, and also a consensus in the Ethereum blockchain. Each smart contract is written in Bytecode and is read and executed by the EVM. -
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?
Everything is initially written in Solidity and through a compiler app, it is translated into Bytecode. -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin’s Script is Non-Turing complete. -
What is a Turing Complete programming language?
Is a programming language that has not limitations on what you can build upon.
- The EVM reads the smart contract and tells the node CPU what to do.
- The EVM can read byte code.
- Solidity is an easy to learn and user friendly programming language. It is converted to byte code for the EVM to read.
- It’s script language is not Turing complete, which disallows loops and it is also limited due to block size.
- This language allows you to program anything you can think of, and allows loops in the code.
-
What does the EVM do?
ethereum virtual machine is changing solity code to bytecode and giving information to CPU, also securing the network that smart contracts cant interact independently to CPU. -
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?
solidity is easier to write for humans so it coding language and then it changed or translated to bytecode that EVM can read and give commands to CPU -
Why can’t Bitcoin run the same type of complex programs as Ethereum can?
The bitcoin community doesn’t want to have that kinda complex option on their blockchain because of security. the reason why bitcoin blockchain cant run complex programs are because turning is not complete and cant complete all kinda mathematical problems. -
What is a Turing Complete programming language?
it programming language can do anything you want in programming.
- What does the EVM do? It acts as a Security layer between the Smart Contract and the Node Computers CPUs. It reads and executes the byte code.
- What is the format of the instructions that the EVM can read? It reads Solidity byte code.
- What is the relationship between the programming language Solidity and Bytecode? Solidity translates the “English” to Bytecode in the Smart Contract so it can be used by the EVM.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin’s Script is not Turing Complete.
- What is a Turing Complete programming language? It has no limits and allows for anything to be programmed…at least in Theory…but in reality, it is limited by Time and Cost restrictions.
1. What does the EVM do?
Ethereum Virtual Machine. Virtual machines are essentially creating a level of abstraction between the executing code and the executing machine. This layer is needed to improve the portability of software, as well as to make sure applications are separated from each other, and separated from their host.
2. What is the format of the instructions that the EVM can read?
Byre Code
3. What is the relationship between the programming language Solidity and Bytecode?
The Smart Contract is written in Solidity but will be compiled into bytecode so the EVM can read it.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because the code used in BTC is script which is not turing complete.
5. What is a Turing Complete programming language?
You can program everything you want in a turing complete programming language.
- What does the EVM do?
EVM (Ethereum Virtual Machine) it reads and executes smart contracts.
-
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?
Solidity is a high-level language that is used to write turning complete code.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin uses the language Script that is not turning complete. This means it cannot perform complex instructions.
- What is a Turing Complete programming language?
Allows for loops in order to write more complex programs.
- What does the EVM do?
- the Eth Virtual machine runs and executes the contracts written in Solidity
- What is the format of the instructions that the EVM can read?
- almost any input language can be used as input
- What is the relationship between the programming language Solidity and Bytecode?
- Solidity reads the input languages and a converter turns it into basic computer language called byte code
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
- limitations in block sixe and
- What is a Turing Complete programming language?
- one that can execute