Homework on EVM

  1. The EVM enables a level of security to the computers running nodes on the ethereum network by reading the instructions of a smart contract and checking there isn’t anything malicious or dangerous within the code of the smart contract then relaying it to the CPU of the node to carry out the instructions of the smart contract.
    2.The format of the instructions that the EVM can read is byte code.
    3.Solidity is the coding language that smart contracts are written in and then sent to a compiler which converts solidity to byte code that the EVM can then read.
    4.Bitcoin cannot run complex programs like ethereum as the code in which its programmed is script and is very limited in its applications,designed that way, known as not turing complete.
  2. A turing complete programming language means being able to program absolutely anything you like or can think of it can implement features such as loops which re run commands over and over if needs be .
1 Like
  1. The Ethereum Virtual Machine is a code that is ran by the nodes in the etherium network making it possible to execute code or smart contracts on the network.

  2. The format of the instructions in a smart contract is know as byte code the EMV reads.

  3. Solidity is the programming language that then gets compiled into byte code for smart contracts.

  4. Bitcoin is on basic programming language called script which is not turing complete.

  5. A turing complete language can execute any code or solve any problem and run complex programs.

1 Like

[quote=“filip, post:1, topic:8443”]

  • What does the EVM do?
    It is the “software” used by nodes to read and execute smart contracts on top of the individual CPUs. It is the intermediary between the computer and smart contract and instructs and guides concensus.
  • 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 language used to write the instructions and the EVM interprets this in byteocde.
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?it is not turing complete. This limits the type of instructions it can execute.
  • What is a Turing Complete programming language?
    A programming language that allows loops which can instruct tasks to be repeated and does not require each step or instruction to be written individually. This is useful when considering the addition of changing variables which would require infant individual instructions. Turing complete language has complete programability and scripting.
1 Like
  1. What does the EVM do?

it is an application which runs on all ethereum nodes, reads bytecode and interacts with smart contracts and the CPU of nodes.

  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?

Solidity is the language in which programs for ethereum are written, it is essentially the user friendly interface and bytecode is the underlying language which the EVM reads.

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

It is not turing complete out of necessity for it to be viable for its purpose as being digital gold.

  1. What is a Turing Complete programming language?

a language which can contain loops and is in theory capable of programming anything

1 Like
  1. Etherium Virtual Machine is a VM that sits on each node and reads from the CPU.

  2. It reads Bytecode

  3. Solidity is the programming language we use, Bytecode is the output.

  4. Bitcoin’s Script language is not turing complete.

  5. A turing complete language has loops, which allows you to tell software to do something several times.

1 Like
  1. EVM reads the code on the blockchain and transfer the instructions to the CPU.
  2. The EVM reads EVM bytecode
  3. The Bytecode is the compilation of solidity code
  4. The reason is scalability, Bitcoin developpers refused that the Bitcoin network would get congested with smart contracts. Also the script of Bitcoin is not Turing Complete.
    5.A Turing comlpete programming language enable a developer to programm anything he wants.
1 Like
  1. What does the EVM do?
    it reads and executes smart contracts that have been compiled into byte code.
  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 is the language used to programe the tasks(smart contracts), which is later compiled into byte code
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? BTC uses a non Turing complete language
  5. What is a Turing Complete programming language? A Turning Complete programming language allows developers, in theory, to program any type of application they want and it can solve all problems. This, of course, doesn’t take the time and cost aspect into consideration.
1 Like
  • What does the EVM do?

EVM is an application called the Ethereum Virtual Machine. It runs on each node of the blockchain network, and can use all of the resources and CPU power of the node that running it. The EVM reads smart contracts, computes and executes their instructions, using the CPU.

  • 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 programming language used by developers to write smart contracts for the EVM in easier, less complicated English. Solidity is like a bridge between human developers and the Ethereum Virtual Machine that understands Bytecode. Solidity outputs the Bytecode that EVM can read and execute.

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

The Bitcoin programming language, Script, is not Turing complete. That means it can only handle simple instructions, it cannot handle the complex computations that the Ethereum system can.

  • What is a Turing Complete programming language?

A Turing complete programming language can handle Loops, which can repeat actions multiple times automatically. It can solve any problem, however complex.

1 Like

Homework on EVM

  1. What does the EVM do?

It translates the byte code for the CPU in a secure way.

  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?

Solidity compiles the instructions into byte code.

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

Because BTC scripting language (script) isn’t turing complete.

  1. What is a Turing Complete programming language?

It means that it will read the instructions of the program over and over again and solve whatever problems it’s designed to solve no matter the complexity.

1 Like
  1. The EVM is a virtual machine that acts as a layer of security to the Eth network to ensure no malicious transactions / activity can occur to the smart contracts.

  2. The EVM can read Byte code that is generated from languages such as Solidity and Viper.

  3. Solidity is transcribed into byte code that then informs the EVM on the specific instructions in a smart contract.

  4. Btc can’t run the complex and involved programs that Eth can run because Btc is not turing complete.

  5. A turing complete programming language allows for developers to essentially build any type of complex program as it allows for complex smart contracts with numerous directions and loops if programmed to do so.

1 Like
  1. What does the EVM do?
    A) it is the Ethereum Virtual Machine it checks and executes smart contracts, passing it to the CPU.

  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) Smart contracts are written in Solidity and converted into Bytecode by the EVM when compiled.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    A) BTC runs on script and Eth runs on Solidity allowing for more complex contracts.
    BTC is not Turing complete.

  5. What is a Turing Complete programming language?
    A) A language that allows complex programing including loops

1 Like

1.The Ethereum Virtual Machine runs on all nodes to read smart contracts on the blockchain and intermediate instructions to the node’s hardware.
2.The EVM recieves instructions in Bytes code.
3.Solidity is the language programmers can use to create instructions in a smart contract which are then compiled into Bytecode to be translated by the EVM
4.The script langauge for Bitcoin is non Turing Complete and can’t calculate complex programming.
5. Turing complete programming language can execute sophisticated programming like loop functions.

1 Like
  1. This is a program that runs on all the nodes that executes the instructions that are given by the smart contracts.

  2. This is byte code.

  3. When you program something in solidity it is normal English code but then it gets compiled into byte code which is then readable by the EVM.

  4. Bitcoin uses script as a coding language and it is not Turing complete, whereas Ethereum uses solidity which is Turing complete. Script therefore can only execute basic instructions and also not use loops.

  5. A Turing complete language allows you to program anything you can think of in theory. In the case of solidity that is possible but realistically the Ethereum network cannot process anything you can think of as it is limited.

2 Likes
  1. What does the EVM do?
    The EVM is an application that runs on all nodes. EVM reads the byte code and reads all instructions. The EVM makes sure that no smart contract is taken over the CPU of a node.

  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?
    Solity has a compiler that compiles the code into Bytecode which then is stored in the smart contract. The EVM read the bitecode and informs the CPU of what to do.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because the programming language script is “very” simple.

  5. What is a Turing Complete programming language?
    Is a programming language that can describe all problems and not only simple problems.

2 Likes
  1. What does the EVM do?
  • The EVM or Ethereum Virtual Machine is an environment that allows smart contracts to interact with each other. It allows for smart contracts to have greater functionality without having to become overly complicated.
  1. What is the format of the instructions that the EVM can read?
  • The EVM receives and reads instructions from smart contracts in Bytecode which it then executes and tells the CPU what to do.
  1. What is the relationship between the programming language Solidity and Bytecode?
  • Solidity has a compiler which is a special application which will take the logic and instructions given to it and compile it into Bytecode for the EVM to read.
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • Bitcoin cannot run the same type of complex programs because its programming language Script is not Turing complete and therefore limited in what it can do.
  1. What is a Turing Complete programming language?
  • A Turing complete language is one that in theory can run any program given enough time and memory.
2 Likes

1. What does the EVM do?

  • 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 afterwards to the CPU, telling it what to do.

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 programming language that developers use to create smart contracts. A compiler will then transform the Solidity code into bytecode. The EVN then reads the code and executes it instruction by instruction.

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

  • Because the programming language that BTC uses is very limited in terms of changes that can be done. It’s not turing complete.

5. What is a Turing Complete programming language?

  • With turing complete language, the developers can create any application they want.
2 Likes
  1. EVM runing on top of the CPU all nodes and reading smart contract list than make a result and send him to other nodes.
  2. Smart contract wrote in solidity language convert to EVM Byte code
  3. They working together Solidity is programing language and Byte code work as safety barrier what can instruction list can do.
  4. Bitcoin dont want to use Turing complete languages.They can but community dont want.
  5. In Turing complete languages we have loops, where we can write a code do this 1000 timex for example.
2 Likes

The EVM application reads the smart contract code from the node then gives instructions from contact to the CPU to execute.

EVM can read any programming language.

Solidity compiles the programming language into Bytecode so the EVM can read the smart contract and protect the computer from harm.

Bitcoin’s script language is not Turing Complete, it is a primitive script; it cannot solve all problems that a smart contract might need to be solved.

Solidity and Viper are Turing Complete programming languages.

2 Likes
  1. The EVM Runs on all nodes, executes the contract and sends instructions to the cpu. The EVM also makes sure nothing malicious will happen.
  2. Bytecode
  3. Solidity is a programming language that compiles itself into bytecode to be run by the EVM.
  4. Bitcoin does not have a Turina complete language.
  5. A language that can solve any mathematical problem.
2 Likes
  1. The EVM is a code that runs on all the computers in the Etherium blockchain network. It can read and have your PC’s CPU run certain commands from the smart contract in the blockchain code. It also broadcasts the same commands to all the EVM’s on the network to reach consensus.

  2. The EVM can read commands written in Byte Code.

  3. The commands are written in Solidity and then compiled into Bytecode which the EVM then reads.

  4. The “Script” used to write the code in Bitcoin is not Turing Complete. Which means it can only handle simple commands. Whereas Solidity is Turing Complete.

  5. A programming language which can program and handle more complicated commands/problems.

2 Likes