Homework on EVM

  1. What does the EVM do?
    EVM makes it possible to to execute a code on the network in such a way we are all in consensus about what the result should be.

  2. What is the format of the instructions that the EVM can read?
    It is a code and it can read smart contracts.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Smart contract instructions will be in bytecode. Programmers uses programming language Solidity. Solidity will use a compiler to take all the instructions of the program and make it into Bytecode.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin has script which is old and it is a not turing complete. And Ethereum is Turing complete.

  5. What is a Turing Complete programming language?
    A turing complete programming language has something called as loops. It allows a programmer to tell the software to do one thing several times.

1 Like

1. What does the EVM do?
An EVM is a piece of code, that computers in the eth network run, that executes and encapsulates programmed instructions within the smart contracts. It essentially gives instructions to the CPU after looking over the contract to follow what the EVM says after its review.
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 the main programming language that developers user to create smart contracts. A compiler will then be user to transform the solidity code into bytecode that the EVN can read and execute toward the computers cpu.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
The programming language BTC uses is not turing complete and is intentionally limited to what it can do.
5. What is a Turing Complete programming language?
Using turing complete language, the developers can implement any possible algorithm with the program.

1 Like

1.) The EVM interprets the bytecode, such that consensus can be reached among the nodes of the network.
2.) Bytecode.
3.) Acompiler turns the instructions of the Solidity code into bytecode for the EVM.
4.) Theoretically it could, but a decision was made by the community to keep the network free for the usecase of being internet money, in order to not “spam” the chain. So it remained on the script language, which is not turing complete.
5.) A programming language, which cannot execute every problem that might come up.

1 Like
  1. What does the EVM do?
  • Runs the smart contracts code
  • Isolated from local hardware
  • Distributed computer all nodes run
  1. What is the format of the instructions that the EVM can read?
  • Byte script
  1. What is the relationship between the programming language Solidity and Bytecode?
  • The code is compiled into byte script
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • Not Turing complete (BTC uses script)
  1. What is a Turing Complete programming language?
  • Not limited coding language
  • Loops can be run
  • Anything can be programmed
  1. The EVM read and processes the smart contracts code
  2. EVM reads Bytecode
  3. Bytecode is the result of solidity after being run through a complier.
  4. The coding language on bitcoin isn’t Turing complete
  5. A computer language that is capable to do anything. No limitations of functions
1 Like
  1. The EVM is the Ethereum Virtual Machine that is basically a virtual computer that executes smart contracts.

  2. The EVM reads bytecode.

  3. Solidity is the programming language that developers used to code up smart contracts, after that the code has to be compiled for the EVM to read and that is what bytecode is – the language that the EVM processes and what developers have to convert their Solidity code into.

  4. Bitcoin can’t run the same type of complex programs like Ethereum because Bitcoin and it’s programming language (script) wasn’t designed to be that, Ethereum on the other hand was developed in order to have a specific programming language that would allow developers the ability to construct decentralized applications.

  5. A “Turing Complete” programming language is essential a programming language that can code up any applications and has loops etc – this allows for complex programs on Ethereum with the Turing Complete language Solidity.

1 Like
  1. EVM insures nothing malicious happens. It is another level.
    And EVM makes it possible to execute code.

  2. EVM can read the computer processing unit (CPU).
    And EVM can read smart contracts.

  3. Solidity is a programming language like Java script. There’s
    a compiler in Solidity that compiles the logic and instructions
    down to bytecode.

  4. Compared to Ethereum, Bitcoin is incomplete and limited. Bitcoin
    can’t solve all the problems, because it’s Turing Complete.

  5. Turing Complete language can program anything. It has
    something called loops. It can tell the software to do one thing
    a thousand times. Without a Turing Complete language all
    the instructions would be entered by hand.

1 Like
  1. What does the EVM do?
    EVM is the Ethereum virtual machine and it communicates with the CPU and instructs it to execute 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?
    Solidity communicates with the bytecode in the smart contract
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because Bitcoin’x programing language script, is not turning complete
  5. What is a Turing Complete programming language?
    A turning complete language is a language that can solve any problem
1 Like
  1. The EVM (Ethereum Virtual Machine) allows anyone to execute code in a trustless ecosystem in which the outcome of an execution can be guaranteed and is fully deterministic.

  2. The EVM can read instructions in the format of Bytecode.

  3. Solidity is the most popular coding language used to program Ethereum, but the code must be compiled into Bytecode using solc for the EVM to understand.

  4. Bitcoin can’t run the same type of complex programs like Ethereum because it uses a limited language called Script, which is not Turing complete and does not include loops.

  5. A Turing Complete programming language is able to perform any computation. Ethereum’s Turing Completeness means that it is able to use its code base to perform virtually any task, as long as it has the correct instructions, enough time and processing power.

1 Like
  1. What does the EVM do?

The Ethereum Virtual Machine keeps solidity / smart contracts confined inside the EVM in order to keep them from affecting the PC that the node and EVM are running on. EVM’s main job is to execute smart contracts but by being a virtual machine also adds security.

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

EVM bytecode

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

    Solidity is a high level programming language that humans can understand but computers can’t so first the Solidity code must be compiled into EVM Bytecode that the EVM can read & understand.

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

    Bitcoin doesn’t use a full-complete programming language and therefore is limited in what a programmer can ask of it.

  3. What is a Turing Complete programming language?

A Turing complete language is one that can preform any and all computations that any other computational machine can preform.

1 Like
  1. What does the EVM do?
    It does read the smart contract and executes the code without risk of it infecting the node CPU.
  2. What is the format of the instructions that the EVM can read?
    In bytecode format.
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity looks like “English”, it writes logic in a way humans can understand. But in order for the computer, (EVM) to understand it has first be compiled into EVM bytecode.
  4. Why can’t Bitcoin run the same type of complex programs as Ethereum can?
    Bitcoin doesn’t have a full turning programming language.
  5. What is a Turing Complete programming language?
    A programming language where you in theory can program anything you can think of.
1 Like
  1. The EVM reads byte code in the smart contract and execute the code without infecting the CPU.
  2. Byte code
  3. Solidity is a language written in English which can be compiled to byte code so the EVM can understand the code.
  4. Because bitcoins language is not turing complete which means that the language is missing some key features such as loops.
  5. That you can build everything you can think of.
1 Like

The EVM reads and executes the instructions written in smart contracts.

The EVM reads Bytecode.

Solidity is the programming language used to write smart contracts which the EVM converts to Bytecode to read and execute.

Because Bitcoins programming language, Script, is not Turing complete.

It is a programming language that can perform any calculations that a Turing machine can.

1 Like
  1. Etherum Virtual Machine - it reads smart contracts and instructs the CPU on how to execute them.
  2. Byte Code
  3. Solidity - Programming Language; byte code - Execution Language understood by Etherum Virtual Machine.
  4. SCRIPT is not a touring complete programming language.
  5. It allows you to do whatever you wish.
1 Like
  1. EVM read contracts and execute it?
  2. In byte code?
  3. Solidity - programming language and Bytecode - execution instruction for EVM?
  4. Bitcoin is not Tuning programming language?
  5. Turing Complete programming language can do any computationsthats can be performed by other machines?
1 Like
  1. EVM is an application running on all nodes,
    the Ethereum Virtual Machine that is piece of code that all of the computers/cpu’s/nodes in the network are running on top of the hardwares. EVM is reading and encapsulating the execution of the smart contract code ensuring safety of the action of the smart contract and that everyone is in consensus with the rules and instructions in the smart contract, reducing possibility of malicious intentions in the smart contracts.

  2. EVM can read format of instructions in Byte Code.

  3. Instructions are written in Solidity programming language, Solidity code which is than compiled to the Byte code that EVM can read and direct CPU to execute those instructions.

  4. Bitcoin can not run the same type of complex programs like ~Ethereum beacuse it is written in Script programming language which is not turing complete language.

    5.Turing complete programming language can program anything you can think of, practically it is language capable of executing any given computation. Solidity is turing complete language and it has feature called Loop,where instructions can be given to the software to do certain actions several times.

1 Like
  1. EVM executes smart contracts written in bytecode
  2. Bytecode
  3. Solidity is the programming language, and bytecode is the language that EVM reads and executes.
  4. Script is bitcoin’s programming language which is not Turing complete cannot run complex programs.
  5. Programming language that can do all the computation that u can think of
1 Like

1. What does the EVM do?
Ethereum Virtual Machine essentially does 2 things:

  • Run the list of commands programmed in the Smart Contract to perform the required functions on the blockchain or computer

  • Helps protect a users computer from direct malicious attacks that could overload chipsets or gain access to devices

2. What is the format of the instructions that the EVM can read?
The instructions for the EVM can be programmed in a variety of languages and then compiled into Bytecode for the EVM to sequentially run to completion.

3. What is the relationship between the programming language Solidity and Bytecode?
Solidity is the base language of Ethereum, the Smart Contracts are written in the Solidity code (although other programming languages can be used to create contracts to run in EVM).

This code is run through a compiler that ‘translates’ the Solidity language into Bytecode, a language that the computer running the commands will understand, so that the EVM can read each line of the Bytecode from the contract and run them sequentially to completion of the function.

4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is a Non-Turing Complete programming language, meaning that not all problems can be solved to completion, reducing the complexity of programs that can be created securely.

5. What is a Turing Complete programming language?
Turing Complete programming language is one that can solve complex problems by using logic and loops to enable the creation of any idea.

1 Like
  1. EVM is an Etheruem Virtual machine which is a single global machine. Status is managed by nodes in the network that receive and verify transactions. Each of these nodes is running EVM. The EVM running on that node creates a supportive (encapsulated) environment to run the smart contracts and transaction requests that you have provided. It uses OP Code and gas to prevent spam attacks.
1 Like
  1. EVM stands for Ethereum Virtual Machine and it is an application that runs on nodes which in turn enable the CPU of a computer node read off the lines of code written in the native Ethereum language solidity.

  2. EVM Bytecode

  3. A smart contract is written in Solidity programming language but is compiled into EVM Bytecode to allow for the EVM to read it.

  4. This is because the bitcoin blockchain uses a non-turing complete programming language since structures like loops cannot be used in it’s native language to solve complex problems.

  5. A Turing complete programming language is a language that can be used to write complex programs and have data structures like loops.

1 Like