Homework on EVM

1 - it is the containment of all the code in the smart contract so it doesn’t interact directly with the CPU, it reads and executes the code on it and it runs on every node so that consensus is possible once they reach a mutual result.

2 - Bytecode

3 - Solidity is compressed or transalated into bytecode which is what the EVM can read.

4 - It runs on script which has limitations

5 - A language that in THEORY can be used to program anything.

1 Like
  1. Runs the smart contract code
  2. Byte code is the programming language that the EVM can read.
  3. Solidity is human readable where as bytecode is not and requires the evm to execute.
    4.Bitcoin is very limited in its scripting language and is not turing complete.
    5.Turing complete is a computable system of data rules that is computationally universal.
1 Like

What does the EVM do?

  • Ethereum virtual machine its an app that runs on all nodes of the ethereum network and execute piece of code to read the smart contract.

What is the format of the instructions that the EVM can read?

  • EVM read Bytecode.

What is the relationship between the programming language Solidity and Bytecode?

  • Solidity write program in Bytecode so the EVM can read it.

Why can’t Bitcoin run the same type of complex programs like Ethereum can?

  • Bitcoin script are not touring complete and therefore can’t solve complex type of problem.

What is a Turing Complete programming language?

  • Its an universal programming language that can execute much complex operation such as loop.
1 Like
  1. The EVM or ETH virtual machine, runs on top all all existing hardware in the ETH Network. All noes run EVM and it encapsulates all smart contracts. This is for security purposes.

  2. The format of instructions that EVM can read is byte code.

  3. Byte code is created via Solidity. Solidity is then compiled into byte code.

  4. Bitcoin can’t run on the same programs as ETH due to loos (security issue) and the size of the blocks

  5. A turing complete programming language can solve all problems

1 Like
  1. The EVM is attached on to a program that becomes a smart contract, then the EVM executes the instructions that the CPU used to give the program

  2. EVM reads every instruction the CPU gave the program, and calculates that, then executes it.

  3. A compiler will compile a programming language kind of like Javascript, called Solidity, down to byte code, and that is what the EVM reads to generate the instructions for the program.

  4. Bitcoin is not Turing complete, which means it cannot solve all the problems it may need to if you program on it. Ethereum however, is turing complete and you are able to program anything you want on it.

  5. A Turing complete (TC) language is, like I said above, and language that allows you to solve all problems that you may have if you program an application on ethereum. On Eth, you can program anything you want.

1 Like

1. What does the EVM do?
Executes the smart contracts into byte code which later will be run as machine readable code on cpu
2. What is the format of the instructions that the EVM can read?
byte code
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity reads byte code makes it possible for EVM to work
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin progamming language , Script is not Turing Complete when ETH programming language, Solidity is TC
5. What is a Turing Complete programming language?
Problem solving language, makes money programmable; able to compute anything computable

1 Like
  1. EVM is an application that reads the smart contracts and gives instructions to the CPU regarding the execution.
  2. The EVM can read instructions in Bytecode.
  3. Ethereum developers use the Solidity programming language that later gets compiled to Bytecode in order the EVM to be able to read it.
  4. Because Script is quite limited (not turing complete).
  5. A turing complete programming language can run complex operations.
1 Like
  • What does the EVM do?
    Etherium virtual machine its a code that all the nodes on the network use. It reads and tells the nodes on the network to execute the 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?
    Soliditywith the use of complier translates data in to a bi\yte code that is read by EVM
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because its programing language script is not turing complete
  • What is a Turing Complete programming language?
    Its powerful programing language the can theoreticaly got no programing limitations
1 Like

1 EVM runs the smart-contracts ( Byte code )
2 it is a Byte code
3 Solidity compiling code into Byte code for EVM
4 Bitcoin is written on non touring complete programming language
5 It a programming language that allows developers to create any kind of operation (loops, ect…)

1 Like
  1. It enables a smart contract to deploy on the ethereum blockchain. It reads byte code and tells the PC what to do.
  2. The EVM reads the byte code from which the complier created from Solidity
  3. Solidity is a readable language and bytecode is more computer binary code.
  4. Because bitcoin is not turing complete like Etherum and is limited.
  5. It allows loops which enables smart contacts to do something multiple times.
1 Like

What does the EVM do?
Reads the Byte code and translates the code to the CPU of all nodes in the network

What is the format of the instructions that the EVM can read?
Format is Byte Code

What is the relationship between the programming language Solidity and Bytecode?
Solidity is the language programmers use to create the smart contracts, this is then compiled into EVM readable language of Byte Code.

Why can’t Bitcoin run the same type of complex programs like Ethereum can?
It has a limited language called Script which cannot do what solidity can

What is a Turing Complete programming language?
A language that can be used to solve/program anything we want or need the money to do.

1 Like
  • What does the EVM do?

it executes the smart contract on the eth 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?

Solidity is the way you write the program and then it is passed to bytecode.

  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?

because it is not turing complete because ibitcoin uses script

  • What is a Turing Complete programming language?

It is a programming language that can do any task.

1 Like
  1. EVM does a lot of things, it runs with the power of the nodes, and runs the contracts that are deployed in the network, it also protects the network against malicious contracts, and also makes sure that all the nodes get the same result before approving a transaction.

  2. EVM can read bytecode.

  3. Bytecode breaksdown contracts written with solidity(and soon viper too) i breaks them down so that the EVM can execute them.

  4. Because bitcoin’s script is not a turing-complete langauge, meaning that it does not have enough processing power to execute complex logic like loops, and ifs and all that stuff.

  5. A turing-complete programming language is a language that can do anything you want it to do, regardless of how hard it is to achieve what you want to achieve.

1 Like
  1. The EVM executes bytecode compiled from a solidity program.

  2. Bytecode

  3. Solidity is the programming language you learn and create smart contracts with. These smart contracts are then sent through a compiler and turned into Bytecode for the EVM to read and execute.

  4. Bitcoin cannot run the same complex programs as Ethereum because Bitcoin uses Script as a language which is a Non-Turing complete language.

  5. A Turing complete programing language is a language that can solve any type of problem that it might need to, an example is Solidity, another is Java.

1 Like
  1. EVM reads the contract and tells the CPU what to do
  2. Bytecode
  3. Solidity is compiled into bytecode
  4. Script language is not touring complete, so it’s not capable to perform complex tasks
  5. Is a language that allows you to program anything you want
  1. What does EVM do?
    EVM is the Ethereum Virtual Machine and it reads code and has the CPU execute that code.

  2. What is the format of the instructions that the EVM can read?
    It reads Solidity

  3. What is the relationship between the programming language Solidity and Bytecode?

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    BTC isn’t Turing Complete

  5. What is a Turing Complete programming language?
    Solidity and Viper

1 Like
  1. What does the EVM do?

The Ethereum Virtual Machine runs on all the nodes that are part of the Ethereum network and reads the code of all smart contracts deployed on the Ethereum blockchain.

  1. What is the format of the instructions that the EVM can read?

Bytecode.

  1. What is the relationship between the programming language Solidity and Bytecode?

Solidity is the programming language in which smart contracts are written. Then a compiler is used to compile them into Bytecode, which is the language that the EVM can read.

  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?

Because Bitcoin uses script, which is not Turing Complete, as a programming language.

  1. What is a Turing Complete programming language?

Simply put, it’s a programming language that allows the programmer the use of loops in the code.

1 Like
  1. EVM reads and executes smart contract in encapsulated virtual environments so that they cannot give direct instructions to the CPU for security reasons.
  2. EVM reads instruction in bytecode.
  3. Solidity is a programmer-friendly language that can be compiled into EVM-digestible bytecode.
  4. Bitcoin uses Script - a limited programming language that does not allow developers to deploy resource-heavy functions, for example using loops.
  5. Turing Complete programming language is a programming language that can approximately simulate the computational aspects of any other real-world computer language.
1 Like
  1. What does the EVM do?
    EVM executes the contract.
  2. What is the format of the instructions that the EVM can read?
    Byte code.
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the programing language you use to write your contract, that is then compiled into Bytecode that the EVM uses to execute the contract(instructions).
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is not Turing complete.
  5. What is a Turing Complete programming language?
    It is a language that you can use to program anything you want.
1 Like
  1. What does the EVM do? runs on top of nodes and helps deploy and enact smart contracts

  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 is the compiled version of the programming language

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? The syntax is already written for bitcoin and getting mass adoption wouldn’t happen without creating a hard fork

  5. What is a Turing Complete programming language? Its a programming language that helps read any other language its programmed to.

1 Like