Homework on EVM

  1. Ethereum Virtual Machine (EVM).
  2. Byte code.
  3. The relationship between Solidity and Bytecode is that it is read by EVM.
  4. Bitcoin is written use Script language that is NOT Turing Complete (limited) and Eth is written in Solidity which is Turing Complete allowing to program almost anything.
  5. Solidity and Vipor are Turing Complete programmable languages.
1 Like

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

Quite close sir, but the format of the instructions that EVM reads is Bytecode.

If you have any doubt, please let us know so we can help you!

Carlos Z.

  1. EVM is a Virtual Machines who reads instruction from smart contract.
  2. Bytecode
  3. The code written in Solidity is compiled in Bytecode to be read by Evm.
  4. The Bitcoin language Script is not Turing Complete, can program small things.
  5. Whit a Turing Complete programming language can program anything.
1 Like

The EVM (Ethereum Virtual Machine) makes it possible to execute code on the Ethereum network, facilitating consensus.

EVM reads instructions from smart contracts in byte code and relays them to the CPU.

Solidity has it’s own code, which is then compiled into bytecode to be the instructions in the smart contract that will be read by the EVM.

Because bitcoin is not Turing complete, it only allows for very simple tasks to be completed by using Script. Solidity is capable of writing complex applications that let nearly anything be programmed on the network.

A Turing Complete programming language is one that can develop complex applications on a network and has nearly endless possibilities.

2 Likes
  1. EVM read and execute program

  2. Byte code

  3. EVM

  4. Because its not turing complete

  5. Its a language that you can program anything you want

1 Like
  1. Ethereum virtual machine that runs smart contracts outside de CPU for security reasons and gets consensus on the network.
  2. Byte code
    3.Solidity is compiled in byte code then runs on CPU of node.
  3. Because Bitcoin is not turin complete.
  4. A language that is flexible and allows many possibilities of coding.
1 Like
  1. Executing instructions and secures the network
  2. Byte code
  3. Solidity language is used in Ethereum network which compiles into Bytecode in order for EVM to be able to read it and execute
  4. Bitcoin has script language which is not turing complete, which means it is limited in what it can be programmed, it’s been done on purpose by Bitcoin programmers in order to keep BTC as a secure digital money “Gold 2.0”
  5. Turing complete programming language is the language that is unlimited in what you can program on it, but scalability is a bit of an issue at the moment
1 Like
  1. The EVM reads and executes smart contracts acting a security buffer between the smart contract and the cpu.
  2. The EVM takes instructions from Solidity syntax.
  3. Solidity is the syntax that gets compiled into bytecode.
  4. A touring complete program can run any set of instructions imaginable given the time and cost allowed.
1 Like
  1. EVM execute instructions in binaryW code
  2. The format of the instruction EVM can read is binary
  3. When Solidify compiles, it generates byte code
  4. It,s not TURIN complete
  5. Turing complete is a programming language or smart contract that can solve any reasonable programming problem
1 Like
  1. EVM will read the bte code in the smart contract and then pass it to the CPU.
  2. Byte code. machine language.
  3. Solidity is used to write the smart contract in such a high level language, and then compiled become bytecode. It will reduce the size as well.
  4. Bitcoin using Script as language that can only run certain command, its not Turing complete.
  5. TC language is a language that can accommodate all complex command, especially Loop fuction.
1 Like
  1. The EVM reads and verifies the smart contract securing the CPU of the node

  2. the Bytecode

  3. Solidity compile the instructions of the smart contract into the Bytecode

  4. Because the Bitcon Script is nota Touring Complete programming language

  5. A programming language that enables to program loops and pretty much anything

1 Like
  1. An EVM is like a bidge between the CPUs on each Node and the smart contract. It protects the the CPUs from bad code (hacks) and reads the instructionsof the smart contract

  2. The EVM can read the bytecode format

  3. Solidity is the programming language in which the smart contracts are written. A compiler “transaltes” the logic and instructions of this code into Bytecode which can finally be read by the EVM.

  4. Bitcoin has the also the ability to run smart contracts but in a simpler form. That means only very simple programms (like MultiSig Wallets) can be written on the BTC-Blockchain with the programming language Script

  5. Turing complete programming languege describes the possibility to write a software that can solve almost all problems. Therefore it is also possible to insert loops in the code to conduct a instruction several times in the same way. This would lead to a lack of Security in BTC and therefore it was not accepted by the BTC-Community.

1 Like
  • What does the EVM do?
    EVM reads and verify the programmed smart contract.
  • What is the format of the instructions that the EVM can read?
    The bytecode, machine language.
  • What is the relationship between the programming language Solidity and Bytecode?
    Solidity is an advanced programming language, when it is compiled it becomes bytecode.
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because the program language script is limited (it is not Turing complete)
  • What is a Turing Complete programming language?
    It is an advanced programming language it includes possibilities to loop.
1 Like

Ethereum Virtual Machine is a piece of code running on nodes that can read and execute Smart Cintracts.

EVM bytecode

Smart Contracts is most likely written in Solidity and then compiled into Bytecode which the EVM can read.

It’s not turing complete

A programming language that let’s you program almost anything.

1 Like
  1. EVM provide better security,and execution of code.
  2. smart contract written in solidity.
  3. solidity is compiled to bytecode that is executable on the EVM.
  4. bitcoin can`t run the same type of complex program like etherium because it is not turing complete.
  5. it means that the system is able to recognise or decide other data manipulation rule set.
1 Like

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

Quite close sir(s), but the format of the instructions that EVM read is ByteCode.

If you have any doubt, please let us know so we can help you!

Carlos Z.

1 Like
  1. What does the EVM do?
    EVM is a filter which reads the smart contracts and tell the cpu to execute the instruction. In this way it filter out some program which aim to do something bad

  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?
    smart contract is written in solidity which is similar to javascript. then a compiler compile the code into bytecode

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    because btc language script is not turing complete and therefore it can not solve all mathematical problems, and it doesn’t have loops

  5. What is a Turing Complete programming language? a language which allows the programmer to write a code which can solve any kind of problem

1 Like
  1. What does the EVM do?
    EVM runs on top of the nodes of Ethereum network and executes smart contracts.

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

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the programming language used to write smart contracts, which are then compiled down to Bytecode that is readable by the EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because it uses programming language called Script, which is not a Turing Complete language, meaning it is very limited in what it can do.

  5. What is a Turing Complete programming language?
    A Turing Complete language can be used to program anything you can think of, it doesn’t have limits like languages that are not Turing Complete.

1 Like
  1. The Ethereum Virtual Machine (EVM) is distributed globally and runs on all nodes (computers) on the Ethereum network. The EVM reads a smart contract, interprets the bytecode and executes the instructions. The EVM also encapsulates the smart contract - creating an isolated operating environment apart from the local computer - which establishes robust security for the network by restricting interaction with the operating system of the host. The EVM effectively acts as an intermediary between the smart contract and the node, performing complex tasks and shielding the host computer from potentially malicious code embedded into the smart contract which could then be spread to the network.

  2. A smart contract is written in Solidity or Viper programming language, subsequently compiled into bytecode, which is interpreted by the EVM.

  3. Solidity is the programming language humans use to design a smart contract. It will then be compiled into bytecode which is processed as instructions for the EVM to read and execute.

  4. Bitcoin script is designed to perform basic functions as a form of digital gold and is not Turing complete.

  5. A Turing complete programming language is designed to solve highly complex mathematical problems. It can also program loops, or the ability to process and perform the same computational tasks ad infinitum.

2 Likes
  1. What does the EVM do?
    It reads the bytecode of a compiled solidity program. It runs on top of a node so that smart contract does not run on node CPU directly.

  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 language used to program smart contracts.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin uses script, which is a much more simple and non Turing language. Complexity is not what it was meant for.

  5. What is a Turing Complete programming language?
    A language that can solve more complex computations. Has more flexibility than a non Turing language.

1 Like