- virtual machine for executing instructions in the network
- byte code
- solidity compiles into byte code
- script is not turing complete
- a language that enables anything to be programmed
Homework on EVM - Answers
-
What does the EVM do?
The EVM uses node hardware to take information contained in smart contracts and uses that info to issue commands the nodeās CPU in order to execute the intended function of the smart contracts. A version of the EVM exists on every node in the network, and a smart contract must be propagated to every node and verified by every version of the EVM to be validated by consensus. -
What is the format of the instructions that the EVM can read?
The EVM can only read smart contracts that have been compiled in Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Programmers use Solidity to write smart contracts on the Ethereum chain, whereas Bytecode is read by the EVM. Bytecode is Solidity (or also Viper) that has been compiled in order to be read. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoinās language, Script, is limited in function due to not being a Turing Complete language, meaning that it inherently cannot perform any function like Solidity, a Turing Complete language, can. -
What is a Turing Complete programming language?
A Turing Complete language is a language that can be used to program anything that can be imagined, from loops to very complex applications.
- The EVM runs the smart contract. It does so instead of the CPU for security reasons.
- The EVM can read instructions under bytecode format, which is actually the result after the Solidity code being compiled.
- Solidity code, after being compiled, outputs Bytecode, which is readable by the EVM.
- Bitcoin runs a simplest smart contract. It doesnāt contain complex conditions like programs on Ethereum. It is so because Bitcoin inventors donāt want the blockchain to be spammed by complex instructions that have an impact on the entire network.
- A Turing Complete programming language allows a complex program to run. It allows the programmers to specify any condition for the program to run.
-
What does the EVM do?
The EVM allows smart contracts to be executed on the blockchain by using resources from the node and connecting with the rest of the network. -
What is the format of the instructions that the EVM can read? Bytecode
-
What is the relationship between the programming language Solidity and Bytecode? Programs written in solidity are compiled into by code in order to be read by the EVM.
-
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Because bitcoin doesnāt have a similar virtual machine and does not support the deployment of smart contracts. -
What is a Turing Complete programming language?
- EXECUTES programing code in a smart contract.
2.Byte-code - Solidity is compiled into Byte code and runs on the EVM.
- BITCOIN is not a Turning complete Language.
- Can program anything and has looping.
- What does the EVM do?
Ethereum Virtual Machine. Is a piece of code a version that all the nodes in ethereum network running. The EVM is a security layer for the network that makes sure that no malicious activity is taking place within the Smart contract
- What is the format of the instructions that the EVM can read?
The EVM can read byte-code such as Solidity
- What is the relationship between the programming language Solidity and Bytecode?
Solidity gets compiled and transform into bytecode
- Why canāt Bitcoin run the same type of complex programs like Ethereum can?
The bitcoin script language is a simple language that is not turing complete.
- What is a Turing Complete programming language?
A turing complete programming language is the one that can solve any complex problems. Turing complete it means that support loops (do things several times).
- A programm which set on Ethererum network ,that you can deploy smart contract to. EVM will let CPU on the network to run the smart contract as you wish.
2.Byte code formate. - They are both programm language run on Ethererum.
- Cause the programm langauge on Bitcoin is no turing compelte means it canāt run complex programm or build appliaction.
[quote=āfilip, post:1, topic:8443ā]
-
What does the EVM do?
EVM or Ethereum Virtual Machine is a network of computers which uses consensus algorithm to execute code on the network to produce smart contracts. -
What is the format of the instructions that the EVM can read?
The EVM can read Turing Complete language such as Solidity or Viper by reading their byte codes and compiling them and then executing these into the the EVM network to verify the smart contract. -
What is the relationship between the programming language Solidity and Bytecode?
The relationship between the Solidity and bytecode is that Solidity contains the instructions from the CPU. When these interact with the EVM, these solidity instructions are then converted into EVM bytecodes and the EVM bytecodes then tells all the CPUs in the nodes to execute leading to a final result on the Smart Contract. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin already uses the programming language called Scripts and it is not Turing Complete therefore it is limited and cannot necessarily program anything you want; unlike in Turing complete programming language. -
What is a Turing Complete programming language?
A Turing Complete programming language is a language that allow loops to occur in the instructions and you can program anything you want.
-
The EVM or Ethereum virtual machine is Blockchain based software programme which allows developers to create smart contracts and interprets them into byte code.
-
Byte code
3)The EVM compiles solidity based code into byte code then excuses it.
-
Bitcoin is not a Turing complete programme meaning its functionality is limited. The Bitcoin programming language Script can only create primitive smart contracts.
-
A Turing complete language is a language which can be used to create any find of programme possible
- What does the EVM do?
The Ethereum Virtual Machine is the component of the Ethereum network that manages the deployment and execution of smart contracts. The EVM runs on top of each full nodeās CPU and it can read and execute smart contract code (bytecode). It plays a vital role for the network to reach consensus about the validity of a smart contract and whether or not to deploy it on the blockchain. To make the network more secure from smart contracts that contain malicious code, the EVM encapsulates the smart contract from the network by creating a level of abstraction between the executing code and the node that is executing the code such that the smart contract never has direct access or control over a nodeās CPU.
- What is the format of instructions that the EVM can read?
The EVM can read code in bytecode format.
- What is the relationship between the programming language Solidity and Bytecode?
A relationship between Solidity and Bytecode is established using a compiler that compiles Solidity code in Bytecode. A programmer writes a smart contract in Solidity which is then compiled in Bytecode to make it readable to the EVM.
- Why canāt Bitcoin run the same type of complex programs like Ethereum can?
The complex programs on the Ethereum network are based on a turing complete language that allows to write code that can execute complex tasks. Bitcoin uses a language that is not turing complete, meaning the code can only be used to perform simple tasks.
- What is a turing complete programming language?
A turing complete language makes it possible to write code that is capable of performing any logical step of a computational function, given the computer that runs the code has sufficient resources and time. A turing complete language can be used to write code that performs complex tasks.
- EVM read and execute smart contracts
- byte code
- Solidity is the language for Humans, Bytecode is the language for computers, when the smart contracts are compiled in order to be understood by computers from solidity/viper to Bytecode
- Bc itās not Turing Complete, so it canāt do complex calculation
- Itās when a programming language is able to solve any kind of mathematical problem.
- The EMV is a global virtual computer that runs on the ethereum network. EVMās make it possible for one to convert ideas into bytecode.(an intermediary between code and machine that can read and execute smart contracts)
- Bytecode
- Solidity is a programming language that is used to write a specific set of instructions that is then concerted to bytecode.
- Bitcoin uses a different programming language called script which is far less sophisticated that solidity and also is not turing complete.
. 5. A turing complete language can theoretically solve any mathematical equation which it is given.
-
What does the EVM do?
It is additional software installed on Nodes that allows them to check all smart contracts and keep a consensus that the smart contract is true enough to put on the ethereum blockchain. -
What is the format of the instructions that the EVM can read?
It uses solidity and Viper programs to take the information and put it into bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Solidity takes smart contract input and outputs it into bytecode -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoins script is not Turing complete and therefore not complex enough to run more than basic contracts. -
What is a Turing Complete programming language?
A programming language that is Turing complete can handle basically any programming contract, if you can program it a touring complete program can complete it. The main difference is the ability to do perform loops.
-
What does the EVM do?
The EVM reads smart contracts and tells the CPU to execute them in the correct manner and also encapsulates the smart contract so that it does not take over a CPU. -
What is the format of the instructions that the EVM can read?
The format of instructions that the EVM can read is Bytecode -
What is the relationship between the programming language Solidity and Bytecode?
The smart contracts of Ethereum are written in Solidity and are then converted to Bytecode for the EVM to execute. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is not Turing Complete. -
What is a Turing Complete programming language?
A Turing Complete language allows for theoretically any kind of application to be carried out on the blockchain and also has āLOOPSā
1. What does the EVM do?
The Ethereum virtual machine is similar to a virtual computer that reads the code of the smart contract, then tells the CPU what to do.
2. What is the format of the instructions that the EVM can read?
The EVM can only read byte code.
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity is the programming language that can be converted to byte code by a compiler. The EVM cannot read Solidity code, so it has to rely on the compiler to ātranslateā it into byte code.
4. Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin uses Script, which is a non-Turing Complete programming language. That means that it cannot solve all problems or run very complex programs such as complex smart contracts.
5. What is a Turing Complete programming language?
A Turing Complete programming language is a language that could, in theory, be used to solve any computation problem, regardless of its difficulty or complexity. Unlike non-Turing Complete languages, it has the ability to code for loops, in which a piece of code can repeat itself many times before proceeding with the rest of the program.
-
What does the EVM do? The Ethereum Virtual Machine is the mechanism the Ethereum network uses to read smart contracts and achieve consensus on the network about the contents of smart contracts. The EVM also provides security on the network by preventing a malicious smart contract from high-jacking the network. The EVM runs on all Ethereum nodes.
-
What is the format of the instructions that the EVM can read? The EVM reads instructions in EVM byte code. This byte code is written in higher-level languages like Solidity and Viper.
3.What is the relationship between the programming language Solidity and Bytecode? Through the EVM compiler the human-readable code from Solidity is translated into EVM byte code that facilitates carrying out the actions of the smart contract.
-
Why canāt Bitcoin run the same type of complex programs like Ethereum can? Bitcoin can be programmed in a manner similar the Ethereum but on a much more basic level using its instructional language call Script. This is a non-Turing Complete language that limits the overall functionality of Bitcoin. This is because the Bitcoin community has decided that BTC will continue to act only as a store of value and a means of exchange; gold 2.0.
-
What is Turing Complete programming language? Turing Complete means that the language can support any algorithm the developer can imagine. More specifically, Turing completeness incorporates the use of looping structures.
- EVM (ethereum virtual machine) brings security to ethereum blockchain, it executes the byte code of the smartcontract that has been compiled in solidity or viper orā¦it is independant of the CPU of each machine (node)
- byte code
- The solidity language is like english and understandable for human contrarily to Bytecode. You need to write first the code in solidity and compile it throught the EVM to make a bytecode executable by the EVM
- because Bitcoin does not run smartcontract and is not turing complete
- Turing complete is the caracteristic of programming language that make them āprogrammableā or āsmarterā than only just a transaction (bictoin considedered as only able to do transaction)
- Reads Solidity byte code and instructs the CPU.
- Solidity byte code.
- Solidity is human-readable and compiles down to byte code.
- It does not support a Turing complete programming language.
- A Turing complete language is capable of processing any developable algorithm or command(s).
- What does the EVM do?
Runs smart contracts, or dapps, in bytecode
- 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 human readable and is used to program smart contracts that are then compiled into Bytecode, which can be executed by EVMs.
- Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is not Turing Complete.
- What is a Turing Complete programming language?
Solidity. A Turing Complete language is one that can complete standard list of operations including loops.
- What does the EVM do?
The E(thereum) V(irtual) M(achine) isolates the smartcontract execution from the full nodes base os, it executes smartcontracts code as byte code which is run on the full nodes 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?
Solidities compiler turns human readable code into bytecode
- Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin programming language is not Turing complete.
- What is a Turing Complete programming language?
A Turing Complete language is capable of supporting anyalgorithm a developer can imagine. This due to the usage of standard list of operations such as loops.