Homework on EVM

  1. The EVM is a network of many CPU’s, they read and execute smart contracts. If all the CPU’s within the EVM are in agreement the transaction proceeds. The EVM also provides security from malicious behavior. The security provided by the EVM will halt any attempt to gain complete control of the Ethereum network.
  2. Solidity or any other language created by the ETH devs, such as Viper.
  3. The compiler within the EVM takes Solidity and translates it into bytecodes, a language the computer understands
  4. Bitcoin runs code that is not Turing complete. This means that BTC code cannot be used to create anything on its blockchain. It does not allow for loops
  5. A Turing complete program can have anything created on it, although this does not solve the problem of scalability.
1 Like
  1. The ethereum virtual machine is small pieces of code that helps cypher smart contracts on ethereum nodes.
  2. The format that the EVM can read is byte code.
  3. Solidity basically compiles the smart contract into byte code for the EVM to execute.
  4. Because its not turing complete, meaning Bitcoin faces some limitations when it comes to creating smart contract programs.
  5. Its a language that has no limitations to what programs can be created.
1 Like
  1. What does the EVM do?
    EVM reads the smart contracts to ensure that there is no malicious instructions before it instructs the CPU to execute the smart contracts. Thus it enhances the security of the 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?
    The programming language will go through a compiler that produces the Bytecode, which is read by EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    To prevent spam. For example, someone may write a smart contract with malicious instructions. If it is placed at the Bitcoin network, it may increase the block size if the smart contract is executed.

  5. What is a Turing Complete programming language?
    Solidity and Viper are Turing Complete programming languages as there is no restriction in what you can program. Bitcoin is not a TC programming.

2 Likes

Ethereum virtual machine, or EVM for short, is a blockchain-based software platform. It allows developers to create decentralized applications (Dapps). Programmers value them for having no downtimes and keeping all created objects safe from modifying. You don’t need extensive coding background to use EVM

1 Like

What is the EVM?

EVM is the ethereum virtual machine. The EVM is the thing that deciphers and executes the shrewd agreements.

What’s the significance here when we say that the EVM runs in a sandbox climate?

The EVM peruses, deciphers and executes the brilliant agreement in a confined program, instead of straightforwardly on the computer processor. This diminishes the probability of noxious code worked inside a keen agreement influencing the PC running the EVM.

1 Like
  1. An EVM is a buffer between the smart contract and the CPU to keep malicious contracts from taking over a CPU/ network.

  2. Bytecode

  3. A smart contract is written in Solidity then converted to Bytecode so the EVM can read it.

  4. BTC is not Turning complete.

  5. Turning complete means that it can be used to program anything.

1 Like
  1. EVM reads and executes smart contracts.
  2. EVM reads the bytecode.
  3. Solidity makes the code. Compiler compiles solidity code into bytecode. EVM reads the bytecode.
  4. Because Bitcoin is not turing complete script as Ethereum is.
  5. It is a language which has an opportunity to loop commands.
  1. What does the EVM do? It executes the byte code. It also provides a layer of security between smart contracts and your computer’s CPU.
  2. What is the format of the instructions that the EVM can read? The EVM can read byte code.
  3. What is the relationship between the programming language Solidity and Bytecode? Ethereum takes the programming language be it Solidity or Viper and converts it to bytecode for the EVM to process.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin is not turing complete. The bitcoin blockchain can only process simple instructions around transactions.
  5. What is a Turing Complete programming language? A turing complete program language can perform computational tasks, loops, and write to storage.
  1. EVM reads and executes smart contracts
  2. Bytecode
  3. Solidity is the programming language of Ethereum & Bytecode is what solidity is compiled/ converted to, for the EVM to use, read and execute smart contracts
  4. BTC has limited uses and is not Turing complete- cannot solve all problems.
  5. A language that is capable of solving many problems and has many uses.
1 Like
  1. What does the EVM do?
    Normaly the CPU will execute the instructions from a program, an EVM instructs the CPU what to do with the smart contract.
  2. What is the format of the instructions that the EVM can read?
    EVM bytecode
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity can compile the code into EVM Bytecode
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    It is not turing complete
  5. What is a Turing Complete programming language?
    A programming language that allows loops so the code does not have to be repeated many times
1 Like
  1. The EVM, which is short for “Ethereum Virtual Machine”, is responsible for allowing all nodes in the network to read and execute smart contracts. Also it ensures that no malicious activity happens in a smart contract.

  2. EVM can read byte-code.

  3. A special application will compile the logic and instructions given in Solidity down to byte-code.

  4. Because Bitcoin uses a programming language called Script, which is not Turing complete, thus is only able to create very primitive “smart contracts”.

  5. Being Turing complete means, in principle, that a programming language could be used to solve any computation problem.

1 Like
  1. The EVM reads and executes smart contracts on Ethereum. Each node operates an EVM and it provides a layer of security between the Ethereum network and each node’s CPU.
  2. EVM reads byte code.
  3. Solidity is a user-friendly programming language used to write smart contracts. When compiled, it is converted into byte code.
  4. Bitcoin does not have a Turing Complete language, while Ethereum does.
  5. This means that enhanced functionality such as loops can be included and in theory anything you can imagine can be done with the language. In practice, there may be scalability challenges.
1 Like
  1. The EVM is a software run on nodes that reads and executes smart contracts. This software was developed in order to protect nodes from malicious smart contracts that could attack their computer.

  2. EVM can read byte code

  3. Someone programs a smart contract using Solidity and then it is compiled into byte code and the contract is then put on the ethereum network where the nodes run EVM which then reads the byte code.

  4. Bitcoin can’t run the same type of complex program because Script is not turing complete which means you can only do basic functions on the bitcoin network.

  5. Turing complete programming languages can run loops and has the ability to program anything you want.

2 Likes
  1. EVM runs smart contracts in EVM bytecode, running on top of each node’s CPU.
  2. EVM byte code.
  3. Solidity is a language whose code can be compiled into Ethereum Bytecode.
  4. Because the Bitcoin Scripting Language is not Turing complete.
  5. A Turing complete programming language is a language which can execute any calculation. This is facilitated by the ability to process loops and if-else statements.
1 Like
  1. The EVM, short for “Ethereum Virtual Machine”. The EVM reads and executes smart contracts on Ethereum. Each node operates an EVM and it provides a layer of security between the Ethereum network and each node’s CPU.
  2. EVM reads byte code. A smart contract has a bunch of instructions and they are in byte code.
  3. Programmer uses the Solidity program to write the instructions the smart contract will have. -> then use a compiler app to compile the data to bytecode -> then put the smart contract on the eth network -> now the EVM can read it because it is written in bytecode.
  4. Because Bitcoin uses a programming language called Script, which is not Turing complete, thus is only able to create very primitive “smart contracts”.
    The btc founders decided to keep btc network simple in order to keep the blocks size not too big/ save storage space on the blocks (smart contracts can take a lot of space due to a lot of instructions on them + loops) and to prevent malicious contracts trying to damage/spam the btc network.**
  5. With Turing Complete programming languages there is no restriction on what you can program. You can theoretically programme anything you want.
1 Like
  • What does the EVM do?
    The EVM reads the bytecode from the smart contract and directs the CPU to execute the terms of the smart contract.
  • What is the format of the instructions that the EVM can read?
    The format is bytecode.
  • What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the programming language used to write the smart contract. The compiler then takes the solidity instructions and converts it to bytecode into the smart contract which is used by the EVM.
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    The programming language used in Bitcoin is script which is 1. limited in its language and it is not Turing Complete.
  • What is a Turing Complete programming language?
    A Turing Complete language is one in which anything can be programmed. and could solve any computational problem.
2 Likes
  1. What does the EVM do? It does Proof of Work by writing code in consensus via a series of CPUs.
  2. What is the format of the instructions that the EVM can read? EVM uses a set of instructions (called opcodes ) to execute specific tasks. The main programming language used is Solidity.
  3. What is the relationship between the programming language Solidity and Bytecode? Solidity is compiled of bytecode that is subsequently executed on the EVM. There are a 142 valid opcodes that make up the bytecode needed to compile any Ethereum smart contract.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin is a different programming language “Script”. It is not Turing Complete.
  5. What is a Turing Complete programming language? Turing completeness is a concept from theoretical computer science. It tells you how powerful a programming language is. Not in terms of performance or maintainability or how rich its ecosystem is. A programming language is Turing complete if you can implement any possible algorithm with it.
3 Likes
  1. The EVM, which is short for “Ethereum Virtual Machine”, is responsible for allowing all nodes in the network to read and execute smart contracts. Also it ensures that no malicious activity happens in a smart contract.
  2. EVM can read byte-code.
  3. A special application will compile the logic and instructions given in Solidity down to byte-code.
  4. Because Bitcoin uses a programming language called Script, which is not Turing complete, thus is only able to create very primitive “smart contracts”.
  5. Being Turing complete means, in principle, that a programming language could be used to solve any computation problem.
3 Likes
  1. What does the EVM do?
    EVM will read the smart contract and execute the instructions in a particular Smart contract that needs to reach same result to reach consensus
  2. What is the format of the instructions that the EVM can read?
    It reads the Solidity Programming Language, compiles it and EVM will read the byte code and execute the instructions for the smart contract
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a human readable language similar to javascript that can be compiled into bytecode.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    It has a program called script but it is not truly complete and cannot solve all problems and is limited.
  5. What is a Turing Complete programming language?
    It means you can program anything you want. There is no limitation.
2 Likes

1.Evm is there to read the smart contract. The nodes can operate with this.
2.ByteCode
3.The smart contract is written on Solidity and then compiled on ByteCode. The EVM can then read the Bytecode.
4.Bitcoin is not during Complete. You cannot program loops on it.
5.Solidity or Viper.

2 Likes