Homework on EVM

  1. EVM application to ensure all nodes on the Ethereum network are working together in consensus.

  2. EVM can read bytecode.

  3. Solidity is the programming language that takes instructions and compiles it into bytecode so that the EVM can read it.

  4. BTC’s script isn’t Turing complete, and doesn’t have the same scalability as Solidity and other Ethereum program languages.

  5. A Turing complete language allows loops that can execute commands multiple times.

1 Like
  1. What does EVM do? The EVM reads and executes the instructions of smart contracts, and tells the CPU of the nodes in the network what to do, and if all nodes reach the same result then there is consensus. It provides security ensuring the smart contract cannot influence the 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 that the programmers write in, which is compiled into Bytecode which the EVM can read.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin’s programming language Script is not Turing complete, and can only perform basic programs eg. multisig
  5. What is a Turing Complete programming language? A programming language that can solve all possible mathematical problems allowing for a wide variety of programs.
2 Likes

1 - EV M Executes and interprets the smart contracts. Running every node and miner.

2 - Bytecode

3 - 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 instructions.

4 - Thats because BTC is not turing complete language. It makes it very limited for programming

5 - With turing complete language, the developers can create any application they want.

3 Likes

1-EVM- Ethereum virtual machine is found on all nodes that reads and executes the code found in the
smart contracts
2-Solidity
3-Solidity is the language that is used then is compiled into bytecode
4-Bitcoin is not turing complete, or cannot be programmed to create loops
5- Turing complete allows a program to complete loops that are written into the program.

1 Like
  1. What does the EVM do?
    EVM (short for: Ethereum virtual Machine) is here to translate Bytecode)

  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 current programming language of Ethereum an its smart contracts. Through an compilor-app, solidity is translated into bytecode and from there the network of Ethereum can use it through EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because the programming language of Bitcoin, which is called “Script”, is not a complete turing language.

  5. What is a Turing Complete programming language?
    You can basically programm anything you can think of.

1 Like

As far as i understood, EVM reads Bytecode, not Solidity (referring to question number two).

1 Like
  1. What does the EVM do?

The EVM reads the compiled byte code of smart contracts and gives instructions to the computer’s underlying hardware (CPU, GPU, Memory) in order to execute this code.

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

Compiled bytecode from a higher level language like solidity

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

Solidity is compiled into bytecode

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

Bitcoin is not Turing complete and is thus limited in theory to the types of programs that it can execute, whereas ethereum is Turing complete and can theoretically run any computer program imaginable.

  1. What is a Turing Complete programming language?

A Turing Complete language is a language that can theoretically run any program that is developed with it

1 Like

1.The EVM is a virtual machine that runs the smart contracts on the Ethereum Network. The EVM is a security layer for the network that makes sure that no malicious activitiy is taking place within the Smart contract.

  1. The EVM can read byte-code such as Solidity

  2. Solidity is compiled into byte-code, which then runs thru EVM on the CPU, which then executes the instructions in the Smart Contract that comes up with results

  3. Ethereum EMV is turin complete, meaning that Ethereums network is capable of performing any logical steps of a computational function within the network. While Bitcoin programming language is Script and isn’t turing complete.

  4. A turing complete programming language is a programming language. Anyone can write whatever program they want on it. It allows individuals to make a programming language from scratch.

1 Like
  1. The Ethereum Virtual Machine reads the code in a smart contract and ensures its integrity before passing along instructions to the CPU. Every node in the network has the EVM integrated into it.

  2. The EVM can read Bytecode which is the code that solidity is transformed into so that the EVM can read it.

3.The smart contracts are written in Solidity and then compiled into Bytecode.

4.The programming language that Bitcoin uses, Script, is not turing complete.

  1. Turing Complete means that the programming language is sophisticated enough that any level of complex operations can be coded with it.
2 Likes

EVM is Ethereum virtual machine, it makes sure everything reaches the same result (consensus), it executes the smart contract

  1. Bytecode

  2. Solidity is compiled of bytecode that is subsequently executed on the EVM. To date, there are a total of 142 valid opcodes that make up the bytecode necessary to compile any Ethereum smart contract

4 because you can’t really programmed smart contracts with bitcoin

  1. it Is a language written which can find an answer
1 Like
  1. The EVM secures the Smart Contract ensuring that nothing malicious happens, and compromise the nodes on the network.

  2. Byte Code.

  3. There an application called Compiler that takes the code on Solidity and compiles it into Byte Code.

  4. Because Bitcoin’s programming language is not Turing Complete.

  5. It’s a language like Solidity, where you program anything you want.

1 Like
  1. What does the EVM do?
    Reading Smartcontracts

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

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity compile the bytecode

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    It is non touring complete. Programmed for transaction

  5. What is a Turing Complete programming language?
    A Program can do everything, smartcontracts, transaction
    example : can create loops , what will tell the Program what to do …

2 Likes
  1. EVM reads and executes smart contracts.
  2. EVM can read Bytecode.
  3. Bytecode is a compiled version of Solidity.
  4. This is because Bitcoin isn’t turing complete.
  5. A Turing complete language allows you to program anything you can think of.
1 Like
  1. What does the EVM do?
    Reads Smart Contracts, but also ensures security

  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 that developers code in, this is compiled into byte code which the EVM can read

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is not turing complete and is limited in what it can do

  5. What is a Turing Complete programming language?
    Developers can create any application they like

1 Like
  1. it is a piece of programming existing on all etherium nodes. It ensures that smart contracts can not be manipulated centrally.

2 byte code

  1. You write the code in solidity and evm translates into byte code

  2. Because the community did not want it for bitcoin. Bit coin is a store of value

  3. Means you can in theory program anything

1 Like

Hey guys I had to watch this about 3 times for it to sink in. Any information I missed would be appreciated.

  1. EVM reads & executes smart contracts using CPU.
  2. EVM bytecode.
  3. When it comes to solidity, it uses an application called COMPILER. It compiles all the logic & instructions down to bytecode. Its the bridge between both.
  4. It can’t run the same programs because it already is using a program called SCRIPT. Not fully intended to be used for smart contracts. Bitcoin is limited in that essence.
  5. You can program any application you can think of.
1 Like
  1. The Etherium virtual machine is like a cpu for the Ethereum blockchain. It reads and executes all smart contracts.

  2. Bytecode.

  3. Smart contracts written in Solidity are then compressed into bytecode to be read and excecuted byt the EVM.

  4. Bitcoin operates from the script language. This is not a Turing complete language and cannot facilitate complex smart contracts.

  5. This is a language where any thing you can think of making is possible. There are no limits on the complexity of the programs written.

1 Like
  1. EVM reads and execute smart contracts as middleman between CPU and smart contracts.

  2. Bytecode

  3. When you write smart contract in Solidity, there is application called Compiler, which compiles logic of the smart contract into bytecode.

  4. Bitcoin is running on script language, which is not turing complete - it means that you are very limited with creating smart contracts and you can develop only very basic ones.

  5. Turing complete language is language, where you can create any smart contract you can imagine and you are unlimited by thee boundaries of used programming language.

3 Likes
  1. Bitcoin uses script language which is not turing-complete, meaning you can’t program everything. Bitcoin scripts currently do not enable loops. This limits the types of algorithms the Bitcoin scripts can execute to linear or tree-like instructions.

  2. Language is turing-complete, meaning you can pretty much program anything.

2 Likes
  1. What does the EVM do?
    EVM enables to read EVM-bytecode and allows to execute code in a trustless ecosystem in which the outcome of an execution can be guaranteed and is fully deterministic (i.e.) executing smart contracts.

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

  3. What is the relationship between the programming language Solidity and Bytecode?
    EVM-bytecode is the VM level machine language which is compiled by Solidity. To compile some code of Solidity we need a compiler.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because Bitcoin uses script language which is not turing-complete, meaning you can’t program everything. Bitcoin scripts currently do not enable loops. This limits the types of algorithms the Bitcoin scripts can execute to linear or tree-like instructions.

  5. What is a Turing Complete programming language?
    Turing Complete language is a language, which is pretty much able to program anything.

2 Likes