Homework on EVM

  1. EMV (Ethereum virtual machine) reads smart contracts and execute them.
  2. The format of the instructions that EVM can read is Bytcode.
  3. Code written in Solidity is compiled to Bytecode for EVM to execute it.
  4. Bitcoin use ‘Script’ language and it is not turing complete while Solidity, used on Ethereum, is.
  5. A Turing complete programming language is a language like Solidity that can use loops. It is capable to perform any possible calculations so programmers can program anything they want.
1 Like
  1. What does the EVM do?

It is an application that runs on all of the nodes in the network, used to read and execute smart contracts.

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

Byte code.

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

Instructions are programmed in solidity and a compiler is used to take the instructions from solidity and compile them down to byte code, which the EVM can use to read and execute.

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

Because BTC uses a programming language called Script which is not turing complete, meaning it cannot solve all problems.

  1. What is a Turing Complete programming language?

A language that can solve any problem and has loops allowing it to perform a function multiple times.

1 Like
  1. What does the EVM do?
    The EVM helps protect the nodes on the network from malicious acts while executing the instructions on the smart contract.

  2. What is the format of the instructions that the EVM can read?
    The format of the instructions that the EVM can read is bytecode.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the programing language used to write code and then a compiler then changes it to bytecode in order for the EVM to read so it can execute the instructions.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin can have basic execution codes - the scripting language on Bitcoin is not turing complete. Not turing complete means the scripting language is very limited to what it can execute.

  5. What is a Turing Complete programming language?
    Turing Complete language has the ability to have loops in the language, therefore enabling the language to execute more than what a Not Turing Complete language can not.

1 Like
  1. What does the EVM do?

EVM runs on the existing hardware on the given node (CPUs) and can read and execute Solidity commands and translate them into byte code through a compiler. EVM ensures consensus between nodes, preventing malicious actors from trying to manipulate the code.

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

Byte code. The byte code is obtained after using a compiler with Solidity code, or with Vyper.

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

Solidity is an ease-of-programming Turing-Complete language comparable to JS that can be translated by a compiler to be converted into byte code that the EVM can read.

  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    BTC already has some very primitive programmable “smart contracts”, but the script in BTC is not Turing Complete.
  2. What is a Turing Complete programming language?

Consists of loops (programming that can repeat code multiple times).
Everything that you can think of, you can code. Solidity is an example of a Turing Complete programming language.

1 Like
  1. An EVM reads smart contracts on the Etherium blockchain and instructs the CPU of a node to carry out the instructions laid out by the smart contract it is reading.

  2. bytecode.

  3. Solidity is compiled down to bytecode by a compiler, which is read by an EVM.

  4. The programming language used by Bitcoin is not Turing Complete.

  5. A Turing Complete programming language is a programming language that allows the programmer to program anything he/she can think of.

1 Like
  1. EVM is the secure intermediary platform that reads a smart contract instructions on the blockchain, and prompts the computer’s CPU (central processing unit) to execute a set of commands. Smart contracts do not interact directly with any internal or external drives or devices on a computer. The EVM also interacts with other EVMs on each node in the network. I hope to heck I am understanding and explaining this crazy maze of information!
  2. Byte code from the compiler.
  3. Solidity is a programming language in English syntax commands that a compiler will turn into byte code that a software or platform (EVM) can interpret and execute or prompt other computer hardware to execute. OMG, am I making any sense???
  4. Bitcoin’s Script language is not Turing Complete and therefore can not create or run complex set of instructions.
  5. Turing Complete language allows for a variety of specific commands to run different sets of real world instructions based on specific criteria.
1 Like
  1. What does the EVM do?
    EVM ensures that no malicious activity is happening in a smart contract, and is like a security layer for the network.

  2. What is the format of the instructions that the EVM can read?
    The EVM reads byte code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity programs compiled into bytecode to run on EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is not a turing complete language which means it is very limited to make programation.

  5. What is a Turing Complete programming language?
    Turing Complete programming language means that you can program anything you want without any limitations.

1 Like
What does the EVM do?

Ethereum Virtual Machine which executes commands written in Solidity language taken by the compiler and changed to Bytecode. Turing complete language so all could be programmed via Solidity and executed via EVM

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

Bytecode

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

Commands written in Solidity are changed by compiler to Bytecode and then executed by EVM

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

Turing incomplete language used (Scrypt) e.g. can’t do loops

What is a Turing Complete programming language?

Almost everything you can think of could be programmed in such language.

1 Like
  1. What does the EVM do?
    A: It encapsulates the data to protect the nodes, by ensuring no smart contract instructions could be used to hijack the node’s hardware or carry out any malicious acts.
  2. What is the format of the instructions that the EVM can read?
    A: Bytecode.
  3. What is the relationship between the programming language Solidity and Bytecode?
    A: A compiler will take the script written in Solidity and convert it to Bytecode.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    A: The Bitcoin script is not Turing complete and can’t carry out loops like Ethereum can.
  5. What is a Turing Complete programming language?
    A: A language where you can program anything you want.
1 Like
  1. evm is ( Ethereum Virtual Machine) it run and execute smart contracts in every node
  2. bytecode
  3. solidity is the program language use to create smart contracts and it will convert to bytecode and evm can create the code and executes it
  4. because BTC is not turning complete language.
  5. with turning complete language developer can create any application they want
1 Like
  1. What does the EVM do?
    EVM stands for “Ethereum Virtual Machine”. An EVM is a piece of code that all cpu’s are running. The job of a EVM is to read the smart contracts, do the calculations, and then tell the cpu to execute it.

  2. What is the format of the instructions that the EVM can read?
    The EVM will read solidity which is compiled into EVM byte code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a programing language that can be compiled to bytecode for the EVM to read.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoins programming language is script which is not turing complete. Therefore, bitcoin is limited in the programming that can be added.

  5. What is a Turing Complete programming language?
    An example of a turing complete language is solidity. turing complete programing languages allow you to run loops to execute the same action as many times as the designed. turing complete languages can be used to solve any computational problem.

1 Like
  1. What does the EVM do?
    Etheruem Virtual Machine can read and execute smart contracts, the EVM gives instruction to the CPUs.

  2. What is the format of the instructions that the EVM can read?
    EVM can byte code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Programmers use Solidity. Solidity has a compiler that will compile the logic and instructions the programmer has given and will compile those down to byte code. The EVM then reads the byte code.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin was meant to be a currency and not Turing Complete. Adding complex programs would make transactions take up more space on a block especially if a programmer used a lot of loops.

  5. What is a Turing Complete programming language?
    Turing Complete in theory means you can program anything that you can imagine. You can use loops and make anything possible. In reality you probably cannot program it to do absolutely everything as you have to think of the time and cost aspect of what you program.

1 Like
  1. What does the EVM do?
    It reads the smartcontract in Solidity + instructs the CPu to execute the smartcontract

  2. What is the format of the instructions that the EVM can read?
    Bytecode , loops, dynamic loops ( ie turing complete)

  3. What is the relationship between the programming language Solidity and Bytecode?
    Part of ETH 1.0.1. it does everything instructing by instruction. No loops

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    simple logic :not turing complete , Static,

  5. What is a Turing Complete programming language?
    programming language that has loops, and this allows developers to create dynamically

1 Like
  1. What does the EVM do?
    The EVM reads smart contracts and gives instructions to computers

  2. What is the format of the instructions that the EVM can read?
    Bytecode compiled from solidity code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a programming language from which code is compiled into Bytecode

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoins programming language is not turing complete.

  5. What is a Turing Complete programming language?
    it is a programming language which can perform any computation

1 Like
  1. EVM executes code on the network that all are in consensus in the form of a smart contract.
  2. EVM byte code
    3.EVM reads the Solidity language and concerts to bytecode
  3. Bitcoin uses script which is not turing complete
    5.Solidity is turing complete and can programme anything
1 Like
  1. EVM can read the byte code and execute on each CPU.
  2. Byte code.
  3. A compiler converts the Solidity programming language to byte code to be read by the EVM.
  4. Bitcoin uses a simple programming language called Script, which is not Turing complete language.
  5. It is a programming language that can implement any possible algorithm and very importantly can create loops.
1 Like
  1. EVM is a piece of code that all the computers in the network are running. It runs, executes, and encapsulates the smart contracts and gives instructions to the CPU, telling it what to do.

  2. Bytecode.

  3. With Solidity programming language one can create smart contracts. A compiler transforms the Solidity code into bytecode. The EVM then reads the code and executes it instruction by instruction.

  4. Because BTC uses a different programming language that allows only very limited “smart contracts” done. It’s not turing complete.

  5. Turing complete language allows developers to create any application they want.

1 Like
  1. What does the EVM do?

EVM is a application running in all of the notes wich gives instructions to the CPU. EVM can read and execute smart contracts.

  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?

The information programmed in Solidity are modified by compiler program to Bytecode.

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

Bitcoin use a script program which is very limited and too primitive to run the same type of complex programs like Ethereum. Is not turing complete.

  1. What is a Turing Complete programming language?

Thanks to Turing Complete programming language you can program anything you want.
It has loops, a feature of a programming language that allows you as a programmer to tell software to do one thing several times.

1 Like
  1. What does the EVM do?
    An EVM interprets byte code and processes the code in each smart contract. Each node runs an EVM in an isolated environment. Each node then confirms and syncs with other nodes to ensure contracts are executed properly.
  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?
    You write the smart contract in solidity, and then it is converted into bytecode, which is then read & executed by an EVM.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin cannot run complex programs like ethereum because it does not have an EVM type layer on top of it. It is not turing complete/
  5. What is a Turing Complete programming language?
    A turing complete programming language is one that is complex and can process “if, then” instructions among many other instructions.
1 Like
  1. What does the EVM do?
    The EVM interprets the compiled byte code instructions of a smart contract, providing a secure isolated environment for the code to be executed on Blockchain nodes.

  2. What is the format of the instructions that the EVM can read?
    The EVM reads Ethereum byte code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity, as well as Viper, are programming languages that are compiled to Ethereum byte code.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is unable to run the same type of complex programs as Ethereum because it is not Turing Complete and its scripting language lacks features like loops.

  5. What is a Turing Complete programming language?

A Turing Complete programing language has features and syntax that allow for anything to be programmed, no matter how complex it may be.

1 Like