Homework on EVM

  1. What does the EVM do?
  • It is an application running on all the nodes (computers/cpu) where it executes the smart contract by giving instructions to the CPU.
  1. What is the format of the instructions that the EVM can read?
  • EVM Bytecode
  1. What is the relationship between the programming language Solidity and Bytecode?
  • Solidity is the language in which the code is written. Bytecode is the bridge between Solidity and the EVM. The EVM is reading the instructions in Bytecode.
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • Because Bitcoin is not Turing Complete
  1. What is a Turing Complete programming language?
  • It will have loops that tell the software to do something many times.
1 Like
  1. EVM allows for the function of smart contracts and it runs on the hardware of each node in the Ethereum network. It reads the smart contract then tells the CPU what to do. Acts as a buffer between the network and the CPU so that a smart contract with malicious intent does not compromise the security of your system.
  2. ByteCode
  3. Developers write code in solidity which is then compiled into Bytecode and read by the EVM.
  4. Bitcoin is unable to run smart contracts like Ethereum due to its limitations with the script language that it uses which is Not Turing Complete meaning that its functions are limited.
  5. A Turing Complete programming language means that the programming language can do pretty much anything you tell it to.
1 Like
  1. What does the EVM do?
    It can read and execute smart contracts, using all the node’s resources and giving instructions to the CPU.
  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 programming language programmers use to code the instructions. With a compiler this is then turned into byte code that can then be read by the EVM.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because BTC’s programming language Script is limited and not Turning Complete.
  5. What is a Turing Complete programming language?
  6. A Turning Complete programming language consists of programming virtually any instruction you can think of.
1 Like
  1. What does the EVM do?
    Ethereum Virtual Machine runs on smart contracts on the nodes in the network.
  2. What is the format of the instructions that the EVM can read?
    EVM byte code
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is complied into byte code which runs thru EVM on the CPU which then send the instructions to the Smart Contract
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin programming isn’t turing complete, which mean it doesn’t have the function to programme instructions, unlike Ethereum is turing complete language
  5. What is a Turing Complete programming language?
    Turing Complete programme language can handle script, programme ability and application.
2 Likes
  1. EVM does run smart contracts on Ethereum blockchain.

  2. Developers should write instructions to EVM in Solidity programming language for smart contracts. Instructions written in Solidity will be compiled into Bytecode to be read by EVM.

  3. Solidity compiles into Bytecode for EVM.

  4. Bitcoin does not have capability to run Turing complete programs.

  5. Turing complete programming language allows to implement and run any possible algorithm.

1 Like

What does the EVM do?
Ethereum Virtual Machine is the protocol infrastructure that executes smart contracts on the Ethereum network

What is the format of the instructions that the EVM can read?
Smart contracts

What is the relationship between the programming language Solidity and Bytecode?
bytecode can be an address that can be assigned to a smart contract

Why can’t Bitcoin run the same type of complex programs like Ethereum can?
it is not a turing complete language meaning that it can’t do real complex actions like loops

What is a Turing Complete programming language?
It is a programming language that can do complex actions and can solve

1 Like
  1. Ethereum Virtual Machine it runs on all the machines in the network and reads and executes smart contracts.
  2. EVM Bytecode
  3. Smart Contracts are written in Solidity and compiled in EVM Bytecode. It creates a “buffer” between commands and the nodes which makes up the blockchain so the machines cannot be hacked.
  4. Script language used on Bitcoin is primitive and not a Turing Complete language.
  5. A Turing Complete language it cannot solve all problems it is limited. TC has Loops which Script does not.
1 Like
  1. What does the EVM do?

EVM (Ethereum Virtual Machine), makes it possible to execute code on ETH network in a way we’re all in consensus on what the results should be.

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

EVM Reads the byte code.

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

Solidity allows the ability to program smart contracts which then can be compiled to Bytecode so EVM can process.

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

Bitcoin’s functionality is limited to Script, a non-Turing Complete language. The comparison is similar to the Web before JavaScript.

  1. What is a Turing Complete programming language?

A Turing Complete language can be programmed and executed to solve any computational function, most significantly is loops.

1 Like
  • What does the EVM do?
    It’s an application running on the nodes and it executes smart contracts
  • What is the format of the instructions that the EVM can read?
    Byte code
  • What is the relationship between the programming language Solidity and Bytecode?
    The compiler
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    It is not Turing complete
  • What is a Turing Complete programming language?
    It means you can technically program anything
1 Like
  1. EVM uses proof of work on the Ethereum network. EVM can run and execute both smart contracts and CPU’s. It interprets the smart contracts across various CPU’s running the nodes and miners. If all the EVM’s on the node reach consensus then it is executed.
  2. Bytecode is a price of code that EVM activates by its exact description.
  3. Solidity is compiled into EVM bytecode, which is then running on ETH nodes to execute.
  4. Bitcoin is not turning code complete like Ethereum. Its script can’t solve all the programs that it might have to solve. It is much more limited than Ethereum
  5. Turing complete programming language has loops to do 1 thing several times. You cannot do smart contracts without these loops
1 Like
  1. The EVM provides security to the entire network.
    It is the Ethereum Virtual Machine that reads the byte code that has been compiled by the Solidity programming application.
    It runs on all nodes and executes the smart contract and gives instructions to the CPU.
  2. Byte code.
  3. Solidity is a programming application that compiles the logic and instructions down to byte code before giving it to the EVM.
  4. BTC can’t run the same type of complex programs like Eth can due to it being primitive, basic, limited as it is not Turing Complete.
    Solidity is a Turing Complete programming language.
  5. A Turing complete programming language is a programming language with wider functions allowing the programmer to create or do anything they want and also includes loops which allows the programmer to program the software to carry out an instruction many, multiple times.
1 Like
  1. EVM or ethereum virtual machine is an application running on nodes and it makes possible to execute code in such a way that the whole network is in consensus.
  2. EVM reads byte code.
  3. Solidity allows us to program smart contract on the Ethereum network, which is the compiled to Bytecode so that the EVM can excecute that code.
    4.Because Bitcoins programming language is Script, which is very limited compared to Solidity, meanin it is not Turing Complete(it is for creating cryptocurrency and handling transactions).
  4. A turing complete language is such a language in which You can tehcnically programy anything that You think of, meaning the language is not limited to just a few functions, as Bitcoins Script is.
1 Like
  1. What does the EVM do?

EVM means Ethereum Virtual Machine. It will execute code on the Ethereum Blockchain.

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

The EVM reads byte code.

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

Solidity needs a compiler to compile it’s code to bytecode which then can be read and executed by the EVM. Solidities language is somehow similar to JavaScript and reads almost like English when you look at it. Bytecode is the type of data that a processor is able to execute.

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

Because Bitcoins programming language Script is not Turing complete, means it does not have all mathematical functions and possibilities like a Turing complete programming language like Java or Solidity.

  1. What is a Turing Complete programming language?

Turing complete is derived from Alan Turings Turing Machine. A programming language is Turing complete when you can solve any mathematical function with it and f.e. make use of loops. Theoretically, a developer is able to program anything he or she can put into mathematically valid code.

1 Like
  1. EVM executes the Bytecode to run the smart contracts. It also protects your computer from the smart contracts for security.
  2. EVM byte code
    3.Solidity is the language of Ethereum. Bytecode is the information that the Ethereum Virtual Machine reads to execute the contracts.
    4.It is not Turing Complete
  3. Turing complete languages allow you to program anything you can think of. A special operation that Turing complete languages run run loops.
1 Like
  1. What does the EVM do?

EVM is the Ethereum Virtual Machine and it reads and executes code that is within smart contracts. EVM ensures that nothing malicious happens to your CPU and it ensures consensus and security within the network.

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

The format of instructions that EVM can read is called bytecode and is written with the Solidity programming language.

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

Programmers can use a special application called compiler with Solidity. The compiler will take the instructions in the smart contract and compile them down to Bytecode. The EVM can now read the Bytecode.

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

Scripting language in Bitcoin is not Turing complete so it cannot run the same complex programs like Ethereum. Ethereum is Turing complete and can run loops for example.

  1. What is a Turing Complete programming language?

A Turing Complete programming language can solve all problems that it might have to solve. If a programming language is not Turing complete then it is more limited and cannot solve all problems. A Turing Complete language can execute loops which can tell a computer to do one thing multiple times.

1 Like

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

  • What does the EVM do?
    its reads and execute Smart contracts
  • What is the format of the instructions that the EVM can read?
    byte code- after being compiled from solidity
  • What is the relationship between the programming language Solidity and Bytecode?
    In a smart contract the instruction are written in solidity language and for the EVM to execute the action it need to ready. the instruction thats why solidity need to undergo a compilation so the. the EVM can read byte code
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Cause its limited to things it can program , cause the programming language script is no turing complete
  • What is a Turing Complete programming language?
    is a program language that can perform anything , including loops
1 Like
  1. Works on top of every CPU in the etherium network to read and execute smart contract with the computers resources.
  2. Code written in solidity and compiled to Bytecode. Specifically it can read bytecode
  3. Solidity is a higher level language that programs use to make smart contracts. Bytecode is a lower level language that is read by the EVM
    4.Bitcoin’s programming language is not turing complete
  4. It refers to a language in which you can program anything
1 Like
  1. The EVM (etherium virtual machine), is the layer of code that allows smart contracts to execute without directly touching system resources, protecting the nodes and network.
  2. The EVM can read bytecode.
  3. Bytecode is the compiled end-result of programs/smart contracts written in the programming language Solidity. Other languages can also be compiled into bytecode.
  4. Bitcoin can’t run the same type of complex programs like Ethereum can because they did not write in the ability to make loops into the script used to code Bitcoin. The bitcoin programming language is deliberately limited and not Turing complete.
  5. A Turing Complete programming language is one in which anything can be written, and offers modalities to solve all functions, including making loops that re-execute code without having to have them written over again.
1 Like

EVM or Ethereum Virtual Machine works in conjunction with yet separate from a CPU in order to perform proof of work.

The format of instructions that the EVM can read is a program Solidarity

The relationship between Solidarity and Bytecode is to make readable content in to numeric content the EVM can use.

Bitcoin can’t not run the same type of complex programs like Ethereum because it is for the most part unprogrammable and can not execute code.

A Turing Complete programming language such as Ethereum is able to execute programmable code.

1 Like
  1. Ethereum Virtual machine application running on top of all nodes.

  2. Byte code

  3. Solidity is a programming language that cannot send instructions directly to the Ethereum network. When solidity is converted to byte code with the use of a complier, instructions can be carried out

  4. Because you cant use tiring complete programming language

  5. Turing complete language means it can read and execute anything a normal computer can. The code is programmable

1 Like