Homework on EVM

EVM can read and execute smart contracts.

The format is byte code that instructs the CPU.

Solidity is the program language, byte code is the instructions.

Bitcoin is limited in S/C so it is primitive.

Turing complete language means anything can be programmed.

1 Like
  1. EVM or Ethereum Virtual Machine are basically virtual machines that creates a secure CPU on every Ethereum node. It reads and processes smart contracts, instructions on those nodes.

  2. EVM reads byte codes produced by Solidity/Viper

  3. It is a shorten form of byte code to ease and speed up the process of programming. The solidity language is later converted into byte code via compiler.

  4. Bitcoin is not turing complete. It can only run simple tasks. It’s a point A to point B (vice versa) system. Solidity however is able to do more.

  5. It’s a language used to program anything, it’s able to solve and computate problems

1 Like
  1. It intercepts and translates the rules from the smart contract to the network.
  2. EVM reads solidity and turns into Bytecode for the network to read and execute.
  3. Solidity is the language the contract is written in and bytecode is the language the EVM turns it into to be read by the network.
  4. Because it is not Turing complete and it runs only simple programs by design from the developers.
  5. Turing complete language is language that allows you to create anything you can think of from scratch.
1 Like
  1. The Ethereum Virtual Machine runs on Etheureum nodes and gives commands to the local CPU. It does this by reading Solidity smart contracts and converting the commands in byte code to the CPU. It acts as a layer of security so smart contracts cannot takeover the machine where the node is running.

  2. The format of instructions that EVM can read is Solidity and Vyper.

  3. The CPU can only read and send byte code commands, the EVM compiles Solidity programming language into byte code so that the CPU can execute the smart contract.

  4. Bitcoin is written in a programming language called Script which unlike Solidity it is not fully programmable or not Turing Complete.

  5. A Turing Complete programming language features loops which enables limitless programming potential by executing commands many times over.

1 Like
  1. The EVM runs on all nodes and acts as a buffer between smart contracts and any possible malicious code that could be stored in them that could attack things such as the CPU and memory.

  2. A sandbox environment enables the CPU and memory of a node to operate safely, and how it does this is through the encapsulated structure created by the sandbox where it uses the EVM on all nodes instead of using each node to run its own process with its own hardware.

1 Like
  1. The EVM runs on the all the nodes on the Ethereum network and interacts with the smart contracts.
  2. The EVM reads the smart contracts that are programmed in Solidity
  3. Solidity is the programming language that is used for the smart contracts. When the EVM reads it, it translates it into bytecode
  4. Bitcoin uses a different programming language called Script. In contrast to Solidity, Script is not Turing complete. This was a conscious choice by developers to avoid spamming of the network
  5. Turing complete can be used to describe a programming language that is able to simulate a turing machine, which means being able to program anything.
1 Like
  1. EVM is a security on ethereum.
  2. Byte code
  3. solidity is compiled into byte code
  4. BTC is not turing complete.
  5. that everything can be programmed on it
1 Like

What does the EVM do?It can read and execute smart contracts. Solves problems on many many computers. EVM is secure.
What is the format of the instructions that the EVM can read?
What is the relationship between the programming language Solidity and Bytecode? Solidity is a language that translates our thoughts to the Bytecode.
Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoins blockchain is made just for the currency. On bitcoin has not a Turing Complete programming language
What is a Turing Complete programming language? It can execute anything

1 Like

The Etheruem Virtual Machine allows the creation of decentralized applications, furthermore, the E.V.M. interprets and executes smart contracts.

The Etheruem Virtual Machine reads computer object code, bytecode. And, the E.V.M. can read smart contracts that are programmed in programming language, Solidity.

Solidity is used for the programming of smart contracts, when the E.V.M. reads the contract, it translates the information into Bytecode.

The Bitcoin blockchain uses a programming language, Script. In contrast to Solidity, Script is not Turing complete. This was a decision chosen by developers to avoid spamming and malicious activity on the network.

The programming language, Turing complete allows loops and lets the user develop programs using said loops.

1 Like
  1. EVM reads and tells the cpu to execute smart contract.
  2. EVM can read bytecode.
  3. Solidity can be converted to bytecode by using a compiler.
  4. Because Solidity is a much more complete language than bitcoin’s script and can solve problems that script can not.
  5. A turing complete language is a language that allows you to code anything that you can imagine.
1 Like
  1. What does the EVM do?
    The Ethereum Virtual Machine is a isolated sandbox for it to run smart contracts before it gets sent to the CPU.

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

  3. What is the relationship between the programming language Solidity and Bytecode?
    You need to compile your solidity code to bytecode for the EVM to be able to read

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin’s native programming used is Script, which is not turing complete.

  5. What is a Turing Complete programming language?
    Turing complete means that whatever you want to do, you can do it in theory. Non turing complete means that you are limited in terms of what you can code.

1 Like
  1. The EVM reads and execute smart contracts.

  2. The format the EVM can read is byte code.

  3. You use Solidity to create the smart contracts and the byte code allows the smart contracts to be read and executed.

  4. Bitcoin can not run the same type of complex programs like Ethereum because the
    Bitcoin program is not Turning-complete which is limited unlike Ethereum whose program is Turning-complete which is not limited, in theory, of what it can do.

1 Like
  1. it acts as a security system between the nodes and the smart contracts.

  2. Bytecode

  3. The instructions written in solidity are compiled into byte code for the EVM to read.

  4. it’s only built for simple transactions

  5. it’s a programming language that Can do repeated instructions in ( if then) scenarios

1 Like

Ethereum Virtual Machine, EVM, is a virtual computer inside Ethereum network.

EVM translates Solidity to bytecode and run on every node. When a smart contract is deployed to the network every node gets a copy of it and EVM checks the smart contract and compare the results to results that other nodes have gotten and achieve a consensus this way. Instead of running the smart contract directly on computer CPU and endangering your computer running them on EVM ensures that nothing malicious is happening on the smart contract.

EVM reads instructions written on Bytecode.

EVM translates Solidity to Bytecode.

Smart contracts on Ethereum network are written on Solidity which is human readable programming language. EVM takes instructions written on Bytecode and can translate Solidity into Bytecode to understand the program.

Bitcoin is not Turing Complete language.

Bitcoin is a programming language, protocol and a currency. Bitcoin as a language is more primitive compared to Solidity. Bitcoin is not Turing Complete language which means that it is not able to solve all problems it would need to solve.

Turing Complete programming language can handle everything for you.

Turing Complete means any real-world general-purpose computer or computer language that can approximately simulate the computational aspects of any other real-world general-purpose computer or computer language.

Turing completeness

“In computability theory, a system of data-manipulation rules (such as a computer’s instruction set, a programming language, or a cellular automaton) is said to be Turing-complete or computationally universal if it can be used to simulate any Turing machine. This means that this system is able to recognize or decide other data-manipulation rule sets. Turing completeness is used as a way to express the power of such a data-manipulation rule set. Virtually all programming languages today are Turing-complete. The concept is named after English mathematician and computer scientist Alan Turing.”
(https://en.wikipedia.org/wiki/Turing_completeness)

1 Like

1. What does the EVM do?
EVM - Ethereum Virtual Machine - executes code on all Ethereum network nodes in consensus about the result. It can read and execute smartcontract code.
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 code is compiled to bytecode and EVM will read all of the bytecode instructions.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin script language is not Turing Complete
4. What is a Turing Complete programming language?
Programing language will find a solution to any programmed task but with no guarantees regarding runtime or memory

1 Like
  1. What does the EVM do?
    EVM is a security system found on each node, it reads and executes 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 is translated into bytecode through a compiler which EVM can then read
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    The programming language of bitcoin, script, is not Turing Complete
  5. What is a Turing Complete programming language?
    A programming language that can program anything you can think of, no limitations, e.g. it can do loops
1 Like

1- EVM reads and executes reads and smart contracts and also serves as a layer of protection to the CPU’s.
2- EVM reads in byte code format.
3- The relationship between byte code and solidity is that solidity is the language use to write the code and then with the use of a compiler app byte the end result is byte code.
4- Due to the BTC programming language being script and not being Turing complete it is not able to solve complex problems.
5- Turing complete programming language gives in theory the possibility of programming anything imaginable.

1 Like

1.- The EVM acts as middleman between the blockchain and the computer, it read, execute and write on the smart contracts using the computer resources.
2. The format of the instructions that EVM can read is Bytecode.
3.- Relationship between programming languaje Solidity and Bytecode is that programmers use Solidity, and through a compiler transform it into Bytecode, wich is the languaje for EVM.
4.- Bitcoin can’t have complex programs because of its coding languaje, script. It is not Turing complete, so it can’t solve any problem.
5.- In a theoretical level, a Turing Complete programming languaje allows to do any thing, so its up to the imagination of programmer, and it’s knowledge.

1 Like
  1. The EVM is a piece of code that all ethereum network CPUs run on. It runs and executes smart contracts by reading byte code and then telling the rest of the network what to do as well as ensuring all CPUs got the same result.
  2. The format of the instructions that EVM can read is Byte code which is compiled from Solidity
  3. Solidity is the programming language we use on the blockchain to write a smart contract and the byte code is the compilied version of that solidity code that the EVM can read
  4. Bitcoin can not run the same type of complex programs like ethereum can as the language used in bitcoin is Script which is a non-turing complete language which means it is limited in what it can do.
  5. A turing complete language allows you to program theoretically anything through the use of loops
1 Like

-The Ethereum Virtual Machine is responsible for the generation of the Smart ContractBytc.
-Bytecode
-The Solidity language similar to java is where the set of instructions of the smart contract is created the network compiles it to Bytecode in order for the EVM to read it and run the code
-Bitcoin script language is not Turing complete
-The turning complete programming language is the ability a language have to make Loops

1 Like