Homework on EVM

  1. EVM executes code on the Etherium Network. It runs on top of the functioning nodes, telling the CPU what to do. It insures that nothing malicious will happen with the network, adding extra security.

  2. Bytecode

  3. Solidity is the programing language that is compiled into Bytecode that is readable by EVM

  4. Because its programing language Script is limited in terms of changes that can be done. It is not a Turing Complete language.

  5. It is a highly manipulatable language/program that you can make anything with.

2 Likes

What does the EVM do?
EVM executes code on the Etherium Network. It runs on top of the functioning nodes, telling the CPU what to do. It insures that nothing malicious will happen with the network, adding extra security.

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 programing language that is compiled into Bytecode that is readable by EVM

Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin’s programing language “Script” allows very limited scope in terms of changes that can be done as It is not a Turing Complete language.

What is a Turing Complete programming language?
It is a highly manipulatable language/program that you can make anything with.

2 Likes
  1. The EVM is the network of nodes that verify all transactions.
  2. The EVM reads bytecode
  3. Solidity is compiled into bytecode, they are interchangeable
  4. The btc script is only functional to a certain point of basic actions
  5. TC language means the developers can create anything they like
2 Likes

1.Makes it possible to execute code on the Ethereum Blockchain, can read and execute Smart Contracts, encapsulates them so that nothing malicious happens.

  1. Bytecode

  2. The compiler turns code written in solidity and turns it into Bytecode so the EVM can read it.

  3. Because Bitcoins programming language Script, is not a turing complete language, wich for example, is not able to run loops due to the rsik of spam attacks. By therefore making it impractical in many cases.

  4. A programming language that allows for everything to be programmed that you can think of.

3 Likes
  1. EVM is running on the top of each CUP in the network like a bridge between Computer’s CPU, smartcontracts and executing them.
  2. EVM is able to read bytecode
  3. Due to program called Compiler is Solidity transformed into Bytecode which can be read by EVM.
  4. Because BTC is written in PRGL called Script which is not turing complete language in comparison to Solidity which is.
    5.Ability to program everything you can think of in theory, harder in practise, but still possible.
    In TCL we’re able to program functions called “loops” (after total execution of smartcontract it starts to execute again) depends how many times we programmed to do so.
2 Likes

nswer all questions and post your answers in the thread linked below.

  1. What does the EVM do?
    Reads a set of instructions (The Smart Contract) and executes in the host CPU.

  2. What is the format of the instructions that the EVM can read?
    Its a Byte code compiled format.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a human readable programming language based on JavaScript. This program is compiled into a Bytecode that is readable by the EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Beacuse Script, the basic progamming language embeded in Bitcoin, is not tuting complete. It can only perform basic tasks and conditions, but can’t perform complex things such as loopings.

  5. What is a Turing Complete programming language?
    Turing Complete is a full language that perform loops and enables the creation whatever complex application developpers can envision. An App like Excel can only ve developped in a Turing Complete language.

1 Like

I don’t thing EVM is a network but an app distributed in the network that can read and execute the Smart Contracts.

  1. EVM ( Ethereum Virtual Machine) Process instruction and send commands to the CPU.
    EVM ensure security in the network.

  2. EVM reads bytecode as instructions.

3.The relationship between Solidity and bytecode is the ability of Solidity program to complete smart contract in to bytecode that is the only way to communicate with EVM.

4 Bitcoin runs on Script which is a primitive language compare to the on from Ethereum
and don’t allows to runs smart contract.

5.Turing Complete programming language is coding language capable to solve any problems.

1 Like
  • What does the EVM do?
    Evm(Ethereum Virtual Machine) reads and executes smart contracts. It provides a layer of protection for the node computers.

  • What is the format of the instructions that the EVM can read?
    The EVM reads the Bytecode format language.

  • What is the relationship between the programming language Solidity and Bytecode?
    Smart contracts runs on the Ethereum network with solidity languages. Evm is contacted with instructions in the form of Bytecode.

Why can’t Bitcoin run the same type of complex programs as Ethereum can?
Bitcoin doesn’t have the advanced programming to handle the complex instructions like Ethereum can.

  • What is a Turing Complete programming language?
    A Turing complete programming language you can write any program you wish too.
1 Like

1 - What does the EVM do?
EMV or (Ethereum Virtual Machine) is a program running on top of the CPU. It can read and execute the instruction in the smart contracts. EVM is in all the Ethereum Nodes.

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 a Ethereum program language for writing smart contracts.
Bytecode is a computer language that EVM can read and execute.

4 - Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because it it using a program language Script that is very limited and primitive compered to Solidity witch is similar to Javascript.

5 - What is a Turing Complete programming language?
You can write everything you want.

1 Like

1 EVM executes code or instructions.
2 Bytecode.
3 solidity is the programming language that is converted into Bytecode.
4 Script language in Bitcoin is not turin complete.
5 A turin complete programming language is one with which you can program anything you want.

1 Like
  1. What does the EVM do?
  • Make it possible to execute a specific code on the ETH network. The EVM is looking at all the instructions and tells the CPU what to do = Solidity compiled to byte code
  • The EVM is running on top of the existing hardware of each node
  1. What is the format of the instructions that the EVM can read?
  • Solidity = Compiler = Byte code = EVM. EVM only cares about the byte code nothing else.
  1. What is the relationship between the programming language Solidity and Bytecode?
    -Solidity is a programming language used to write dapps, when EVM is reading Solidity instructions it will get compiled to byte code so EVM can execute it.
  2. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • BTC is a scripting language and it is “Not Turing complete”
  1. What is a Turing Complete programming language?
  • A complete language that can solve anything you can think about, it can write loops contrarily BTC scripting language
1 Like
  1. It facilitates the ability to execute smart contracts on the Etherium Blockchain.
  2. Bytecode.
  3. Solidity is the programming language which reads like English, this is then translated by the compiler into Bytecode which the EVM can then read.
  4. Bitcoin uses Scrypt language which isn’t Turing complete, meaning it’s limited in it’s capability.
  5. A Turing complete language can theoretically execute any mathematical problem that it is tasked with.
1 Like
  1. What does the EVM do?

The Ethereum Virtual Machine runs the blockchain while executing transactions, contracts, in addition to managing contract state

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

EVM byte code after being compiled from Solidity or Vyper

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

Solidity is the high level programming langue for human readable syntax. The byte code is derived from the Solidity code which is readable by the EVM.

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

The Bitcoin scripting language is not an application rich programming language and does not contain broad functionality of typical programming languages. The Bitcoin approach is to not allow transactions or programmable data structures that could slow down or congest the network in addition to preventing spam like activity from occurring.

  1. What is a Turing Complete programming language?

It would be a language that could complete a wide spectrum of tasks and/or computational problems using conditional statements, looping, primitive statements, various data structures, functions, routines, etc…

1 Like
  1. What does the EVM do?
    Secures the ETH nodes and helps CPU to execute code on ETH network.
  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 ETH programming language that through compiler turns it into Bytecode that can be read by EVM.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    It isn’t Turing complete.
  5. What is a Turing Complete programming language?
    A programming language that allows you to programme anything.
1 Like
  1. EVM reads a smart contract and runs it on the ethereum network. It also protects your computer from attacks.it allows code to be executed on the network.
  2. EVM reads byte code.
    3.Solidity is compiled by the compiler and converted into byte code.
    4.Bitcoin cannot run the same type of complex programs because it is not full turing compatible.
    5.A Turing complete programming language is a language that can tell software to do the same thing many times. it can solve complex problems ,
1 Like
  1. What does the EVM do?
    EVM provides a platform for the nodes in the Ethereum network to reach consensus. Provides another layer of security. It also ensures nothing malicious will happen to the Ethereum network.
  2. What is the format of the instructions that the EVM can read?
    EVM does not limit a specific programing language because it reads bytecode.
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the programming language of Ethereum. It is similar to JavaScript. Solidity breaks down to bytecode which EVM reads and executes.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Solidity work on Ethereum because it is a turing language. Bitcoin does not use Solidity, instead Bitcoin uses Script. The limitation with Bitcoin is because Script is not a turing language does not have loops.
  5. What is a Turing Complete programming language?
    Turing Complete (TC) language has loops and other capabilities which non-turing language does not. TC is used to write more complex programs. Solidity is a TC language that runs on Ethereum.
1 Like
  1. The EVM is an application installed on all the computers on the ethereum network that has the ability to read smart contracts and execute them with consensus from the entire network.

  2. bytecode

  3. the programming language solidity is the language used to programme the smart contracts. Code written via solidity is passed through a compiler to convert it to bytecode that is readable by the EVM to execute/deploy smart contracts.

  4. The bitcoin programming language - script, is not turing complete and as such cannot execute complex programmes like ethereum can.

  5. A turing complete programming language is a programming language that is able to repeat actions several times in a loop in order to execute certain complex functions.

1 Like
  1. What does the EVM do?
    EVM reads the set of instructions on smart contracts.

  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 has a compiler. Compiler breaks down logic and instructions given in the solidity programming language and compiles it down to byte code.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin uses script as programming language, which is not a turing complete programming language.
    Script doesnt allow you to program anything you want, so it cant run the same type of complex programs.

  5. What is a Turing Complete programming language?
    Turing complete programming language, is a language which in theory allows you to program anything you want to.

1 Like
  1. What does the EVM do? Ethereum Virtual Machine or EVM is a virtual program running instructions for your cpu, which lets you read and execute the instruction written in the smart contract.
  2. What is the format of the instructions that the EVM can read? The EVM only uses Bytecode
  3. What is the relationship between the programming language Solidity and Bytecode? Solidity is the programming language that read s like english then it compiles into bytecode for the EVM to read and execute.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin was built on a basic programming language which wasn’t turing complete so it can’t handle any data.
  5. What is a Turing Complete programming language? It allows you program any thing imagine able,
1 Like