- What does the EVM do?
• The EVM interposes between the smart contracts and the nodes’ CPUs to ensure that smart contract code does not break out and control the network. The EVM ensures that the smart contract code is validated by the network and executed only as intended. - What is the format of the instructions that the EVM can read?
• Byte Code - What is the relationship between the programming language Solidity and Byte code?
• A compiler converts Solidity code (more like English) into EVM readable code (Byte code) - Why can’t Bitcoin run the same type of complex programs like Ethereum can?
• The Bitcoin coding language is Script and this language is not Turing Complete. - What is a Turing Complete programming language?
• A language that enables problem solving and loop structures
What is the format of the instructions that the EVM can read?
Indeed sir, but the correct answer is Bytecode, EVM does not read Solidity directly, but i’m sure you knew it
If you have any more questions, please let us know so we can help you!
Carlos Z.
-
What does the EVM do?
It sits a top every CPU in the network, so that TX’s are not directly connected to any node’s CPU. This offers a new and very robust layer of security. -
What is the format of the instructions that the EVM can read?
Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
It’s what Solidity is: a programming language that talks in Bytecode. -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Don’t got no Smart Contracts. Bitcoin does have a lame “smart-contract-like feature. It is not Turin complete and so it cannot solve all the problems. -
What is a Turing Complete programming language?
Solidity, it can solve all problems.
Thanks for correcting my answer, Carlos!
So as far as I understand, the smart contracts are written in Solidity, but then the code is compiled into Bytecode before it actually reaches the EVM?
Regards
Evgeni
1.What does the EVM do?
EVM is Ethereum virtual machine which reads code and executes smart contracts
2. What is the format of the instructions that the EVM can read?
EVM reads bytecode
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity programming language is transformed into bytecode and EVM can read it
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin has script which is not Turing Complete like Solidity for example has
5. What is a Turing Complete programming language?
Turing Complete programming language can complete any task given.
- The EVM is a piece of code that runs smart contracts on the ETH network. Using a world wide network of CPU’s
- Bytecode.
- Solidity is compiled into Bytecode for the EVM to read.
- Bitcoin is turing incomplete and can not run the some type of complex programs has ETH.
- A turing complete programming language in principle can perform any calculation
programmable.
- What does the EVM do?
- The EVM is the application running on all nodes, and it execute and reads smart contracts. The EVM makes it possible for us to execute code on the network.
- What is the format of the instructions that the EVM can read?
- It reads instructions in bytecode.
- What is the relationship between the programming language Solidity and Bytecode?
- Solidity is a statically typed programming language designed for developing smart contra cts that run on the EVM. Solidity is compiled to bytecode that is executable on the EVM.
-
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because bitcoin uses a different programable language called script that is not turing complete. -
What is a Turing Complete programming language?
- Is a language that las loops which is a feature of programming language that allows you to do something multiple times.
- Ethereum Virtual machine (EVM) Runs on all network nodes at the same time and read the instructions of an Smart contracts and then tell the CPU what to do
- Byte code
- Both gives an instructions to CPU through Byte Code
4.Bitcoin is Not turning complete - With turning complete everything is possible to be programmed
exactly, before the smart contract(Solidity) goes into the EVM, it have to be compiled into ByteCode, then, the EVM will analyze the bytecode to verify that is not capable to harm the cpu nor the network.
If you have any more questions, please let us know so we can help you!
Carlos Z.
1 EVM uses processing power from all computers in a network to create a new Virtual Machine to process and read smart contracts. This helps keep the individual computers more secure
2 EVM byte code. Can be compiled from any language with a compiler.
3 Solidity can be compiled into byte code
4 Bitcoin is not TC (turing complete), it cannot run loops
5 Turing complete language has the ability to run loops for repeatable tasks
-
EVM (Ethereum Virtual Machine) reads & executes Smart Contract compiled code on each Node of the Ethereum network.
-
EVM reads Bytecode (ie compiled code).
-
Solidity is the programming language that any person can read then it is compiled and transformed into Bytecode that EVM will be able to read.
-
Ethereum Smart Contracts is based on Solidity programming language
whereas Bitcoin is based on the Script programming language which does not enable to write complex programs since it is not a Turing Complete programming language.
Notice : this was a deliberate choice by Bitcoin programmers since the Ethereum’s creator offered to enhance Bitcoin protocol but was rejected at the time. -
A Turing Complete programming language enables to program ALL possible set of instructions, among other loops (for … / while … / …).
- EVM executes smart contracts.
- Byte code
- Solidity compiles programs to byte code
- It is very limited. Bitcoin’s programming language Script is quite primitive. Not turing complete.
- Language such as Solidity that can make any type of program. Not limited.
- The EVM is a sand boxed environment that each node of the blockchain has and holds the money, checks if requirements to fulfill the contract are reached and translates the smart contract from solidity to byte code for the CPU to process.
- It can read solidity and translates to byte code
- Solidity is used to program a smart contract and then the EVM translates that code into byte code so that CPU can read it.
- becaues bitcoins programming language script is not turing complete
- A programming language that enables you to do anything. Enables the possibility to code loops.
- What does the EVM do? - The Ethereum Virtual Machine (EVM) adds security to node computers by scanning the smart contract for dangerous or incorrect code before executing on the CPU.
- What is the format of the instructions that the EVM can read?
Bytecode - What is the relationship between the programming language Solidity and Bytecode?
Solidity is the programming language for the instructions in the smart contract which a compiler breaks down to byte code for review with the EVM - Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because the Bitcoin script is not Turing complete and therefore does not offer a complete suite of programming flexibility. - What is a Turing Complete programming language?
It is a language that has the ability to solve all problems and therefore allow one to program anything to be done
-
EVM will read and calculate the smart contract and tell the CPU to execute it.
-
Bytecode
-
Solidity is compiled into bytecode.
-
Bitcoin has a language called script. It is not Turing Complete so can’t perform more complex functions.
-
Turing Complete language is a programming language that has the ability to solve all problems and more complex functions.
- Ethereum virtual machine is a piece of code that reads smart contracts
- The format of code that EVM reads is bytecode
- The relationship between them is instructions are written on solidity as bytecode to be read by EVM
- The bitcoin founders make bitcoin less complex by to avoid spamming of the blockchain
- Turing complete programming language is a language where anything is programmable
- What does the EVM do?
The EVM is a code that all Ethereum nodes are running. The purpose of the EVM is to read and execute smart contracts in a secure way.
- What is the format of the instructions that the EVM can read?
The EVM reads EVM byte code.
- What is the relationship between the programming language Solidity and Bytecode?
Solidity writes the byte code that is read by the EVM and communicated to the CPUs on the network.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin network is not Turing Complete. The language does not contain loops, or language to tell software to do things multiple times.
- What is a Turing Complete programming language?
It can solve all possible problems within the application. Any thing you can think to program can be done by the EVM.
- Ethereum Virtual Machine is built as an intermediary to the CPU to directly execute some code or instructions. The EVM was built to protect a CPU because it could potentially be dangerous for the CPU to execute malicious instruction.
- Solidity converts to a bytecode that the EVM can read.
- Solidity is code that’s used to write in the Ethereum network and then it’s converted into a bytecode which a computer can read and execute to the computer screen.
- Bitcoin was not designed to build applications on - it’s built to be like digital gold. Adding complex smart contracts to the Bitcoin network would spam the network.
- Turing Complete allows full capability to program anything you want by using loops, states or conditions, means to have unlimited programming usage.
-
EVM executes the smart contacts into byte code which later will be run as machine readable code on cpu.
-
Means isolated environment and whatever happens within EVM is sandboxed from other environment
What is the format of the instructions that the EVM can read?
What is the relationship between the programming language Solidity and Bytecode?
Indeed sir, but the EVM does not read solidity nor translate solidity to bytecode, the EVM just read the bytecode (binary code: 0111010101), it will analyze the code to be sure that is not able to harm the CPU of the node nor the network. But the point is, you compile your solidity code into bytecode, them it will be send it to the EVM to be processed.
If you have any more questions, please let us know so we can help you!
Carlos Z.