Homework on EVM

  1. The EVM works with the CPU on each node to execute the instructions for smart contracts to ensure security and transparency for the smart contract.

  2. The instructions that the EVM can read is Bytecode.

  3. Solidity is translated into Bytecode so that the EVM can read it.

  4. BTC is not turing complete. It has very limited programming ability. As an asset, BTC is primarily designed to hold value only, and is considered digital gold.

  5. A Turing Complete programming language is one that is easily programmable to do whatever a programmer wants to do. Ethereum is one example of a Turing Complete program on which other programs (coins) can be built.

1 Like

Thank you! Edited my answer to correspond to the reply :slight_smile:

1 Like
  1. The EVM reads and executes the smart contracts.
  2. It can read EVM Bytecodes.
  3. Solidity compiles the code and stores it as Bytecode.
  4. It is because the programming language which Bitcoin uses is Script which is a Turing incomplete programming language.
  5. Turing complete programming language has the ability to execute complex functions.

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

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

Quite close sir, but Solidity is the programming language that you use to create/design smart contracts, after that, it will be compiled into ByteCode, so the format of the instructions that EVM reads is Bytecode. So basically the relationshit between them is that you code into Solidity/viper and it will be compiled into Bytecode, which is the binary code that EVM is able to read (read in terms that binary code is the same used on CPUs at low level, so is basically solidity code but compiled into binary code)

5.What is a Turing Complete programming language?

Quite right sir, but could you please describe it in general terms?

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

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

Quite close sir(s), but the format of the instructions that EVM read is ByteCode. The EVM could read all the languages that you have mentioned, but all of them must be compiled into ByteCode.

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

Homework on EVM - Questions

  1. What does the EVM do?
  2. What is the format of the instructions that the EVM can read?
  3. What is the relationship between the programming language Solidity and Bytecode?
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  5. What is a Turing Complete programming language?

1.Evm is a code or a program that sits and runs on the existing hardware of every single node of the etherum blockchain and by receiving byte codes (Instruction)

from compilers try to read them and telling the CPU to excite them.

2.Byte Code

3.Byte code is the language that smart contract is using to write its instruction and solidity is the language that Eth blockchain uses to whrite its programming application and communicate with other blocks and solidity through compilers can translate to byte codes so EVM can understand them and can give the instruction to CPU.

4.Because BTC is not a Turing complete programing language.

5.you can program anything you want ,it can solve all the problems and it unlimite

1 Like
  1. The EVM reads the instructions of the smart contract and uses a node’s CPU to act upon them. It is an app shared by the whole network to increase security.

  2. Byte Code

  3. Solidity is compiled into byte code to be received by the EVM

  4. It does not have a Turing complete programming language. It was developed for one purpose and one purpose only

  5. It is a language that has the ability to program anything imaginable

  1. What does the EVM do?

EVMs brings the possibility for us to execute codes on the Ethereum blockchain network in such a way that we are all in consensus on what the result should be. EVMs are present in every node which helps the CPU in reading and executing smart contracts. EVMs also acts as a layer of protection by stopping any malicious smart contracts that could compromise a node and enable the spread of these malicious smart contracts throughout the network of nodes.

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

EVMs can read any code that is compiled in ByteCode.

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

Solidity is the programing language used to make the smart contract code. Solidity then uses a compiler to convert these lines of codes to ByteCode such that the EVMs can read it.

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

Because Bitcoin’s programing language, ā€˜Script’ is very limited and is considered as a ā€œNot Turing Completeā€ language. This means that Script cannot solve some problems that might be required for a smart contract.

  1. What is a Turing Complete programming language?

A Turning complete language allows us to program and functions and execute complex problems and opens up the possibility for features such as ā€˜Loops’.

[quote=ā€œfilip, post:1, topic:8443ā€]

  • What does the EVM do?
  • What is the format of the instructions that the EVM can read?
  • What is the relationship between the programming language Solidity and Bytecode?
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • What is a Turing Complete programming language?
    1- The EVM (ethereuem virtual machine) verifies and executes the smart contract.
    2-The EVM reads the the instructions in bytecode which is compiled from a language program.
    3- The relation is: when we compile the solidity code, the compiler will translate the code to bytecode.
    4- a bitcoin is not turning complete, it doesn’t want to allow every thing to be coded like ethereum in order to avoid increasing size especially when making complex codes using loops and also to avoid that networks will be spammed.
    5-a Turing Complete programming language can simulate any turing machine.
  1. The EVM runs on each node and is used for executing advanced actions(smart contracts).

  2. The format of the instructions that the EVM can read is Bytecode.

  3. The relationship between the programming language Solidity and Bytecode is that Solidity is compiled into Bytecode for the EVM to read.

  4. Bitcoin can’t run the same type of complex programs like Ethereum can because Bitcoins coding language is not Turing Complete.

  5. A Turing Complete programming language has the ability to program loops into it.

  1. EVM reads and executes smart contracts.
  2. The format of the instructions that the EVM can read is called bytecode.
  3. Solidity is compiled to bytecode that is executable on the EVM.
  4. BTC can“t run the same type of complex programmes as ETH because BTC uses script language which is limited. On the other hand ETH uses Solidity language which is complete.
  5. A Turing Complete programming language means if you can implement any possible algorithm with it.
1 Like

1-> The EVM reads and execute smart contracts
2-> Byte code
3-> The relationship is that Solidity is the smartcontract program language what is going to be compiled to the EVM Bytecode
4-> Because Bitcoin has the more primitive, limited and therefore not Turing complete language called Script
5-> A Turing Complete language is a language that can solve every problem and thus limitless in theory

1 Like
  1. What does the EVM do?
    EVM is a code or a program running on the CPU’s of Ethereum, on the nodes of the network. It takes a look on all the instructions and do the calculation.

  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 solidity is used to get to Bytecode than can be read by EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin was not created do develop programs on, it is possible to do it, but it’s limited like script, and script is not a Turing complete, that means it cannot solve all problems could meet for some application. But solidity in Ethereum is a Turing complete

  5. What is a Turing Complete programming language?
    Turing complete program has loops feature to tell the software to do something different time.

1 Like
  1. What does the EVM do?

Ethereum Virtual Machine runs the smart contracts.

  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 used to write the smart contracts and then it gets compiled into Bytecode and that runs on the EVM.

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

The developers decided to implement a simple script language into the bitcoin network. It is not Turing complete, so it cannot run complex programs.

  1. What is a Turing Complete programming language?

In a Turing complete language can handle the full spectrum of mathematical and logical complexity.

1 Like
  1. What does the EVM do? regulates transactions helps create smart contract
  2. What is the format of the instructions that the EVM can read? solidity
  3. What is the relationship between the programming language Solidity and Bytecode?
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? different protocol
  5. What is a Turing Complete programming language? dunno
  1. What does the EVM do?
    EVM deploys instructions written in smart contract over network of computers and compares the results, thus achieving consensus on the network.

  2. What is the format of the instructions that the EVM can read?
    It can only read Byte code. Byte code can be generated through Solidity or Viper.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a Ethereum programming language which allows to write turing complete code. The code is converted to Byte code that EVM can read and execute.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    This is because Bitcoin is written in Script programming language which is not turing complete. Bitcoin is designed to be used to send/receive transactions only, i.e. function as money on internet.

  5. What is a Turing Complete programming language?
    Turing Complete programming language is programming language that allows developers to create and perform any operations such as loops, states, conditions. The functionality of the language is not limited by design.

2 Likes

The EVM reads instructions in smart contracts on the Ethereum blockchain. It executes the instructions with the help of the CPU:s and other resources on Ethereum nodes.
The EVM reads the instructions in bytecode.
The smart contracts are written in human friendly code using Solidity. This code is compiled into bytecode.
Bitcoin decision makers wanted to keep things simple, without risking heavy code to slow down the network and increase block size… Another answer is, the programming language used by Bitcoin is not Turing complete. This is by choice, as mentioned earlier.
A Turing complete programming language can solve any and all problems that are solved with software.

2 Likes

Homework on EVM - Qs

  1. What does the EVM do?
    It executes the instructions in the smart contract and tells the CPU what to do. The Results of the smart contract must be the same to achieve consensus.

  2. What is the format of the instructions that the EVM can read?
    Byte code which is compiled by ETH programming language Solidity or NEW Viper.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity it the programming language used to write the instructions and is converted into Bytecode which the EVMs can read and execute in a smart contract.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin script language is not Turing complete

  5. What is a Turing Complete programming language?
    It a programming language that allows developers to create instructions such as looping and can solve every problem.

2 Likes

It is Etherium’s virtual machine, isolating byte-code execution from the rest of the nodes systems in order to prevent the hack of the node. The consensus somehow ensures that all instances of all running smart contracts come to the same result for each block.

Bytecode

Solidity is the programming language producing Bytecode

It is not a Turing Complete language. It does not have loops for example.

A language in which the solution of any formulable mathematical problem can be calculated in finite time (and finite length code).

1 Like

\ 45x45 thecil
October 13

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

Chefrusty:

Solidity, and now Viper and can do loops

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

Chefrusty:

The relationship between Solidity and Bytecode is the EVM.

Quite close sir, but Solidity is the programming language that you use to create/design smart contracts, after that, it will be compiled into ByteCode , so the format of the instructions that EVM reads is Bytecode . So basically the relationshit between them is that you code into Solidity/viper and it will be compiled into Bytecode, which is the binary code that EVM is able to read (read in terms that binary code is the same used on CPUs at low level, so is basically solidity code but compiled into binary code)

5.What is a Turing Complete programming language?

Chefrusty:

5 Turing Complete language would be Solidity

Quite right sir, but could you please describe it in general terms?

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

Visit Topic or reply to this email to respond.

In Reply To

\ 45x45 Chefrusty
October 12

EVM converts the smart contract, say in Solidity… into Byte Code in a sandbox to keep host computers safe as well Solidity, and now Viper and can do loops The relationship between Solidity and Bytecode is the EVM. Bitcoin network can’t run smart contracts because of the fear if spamming, clogging t…

Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Wow, I thought I was doing better that that… So I read some more… See if I got this in my head now…

We write a smart contract in Solidity language… It is then converted into Bytecode a binary string. That Bytecode is then run by the EVM so the CPU can understand and exicute.

It is then considered Tuling complete because I can be read, and executed many time again and again, by virtually any computer, or as I read Computationally Universal

Solidity is converted into Byte code by the Solc Converter. I think that’s where is missed the point. I thought the EVM converted the code we type into bytecode…but not

I originally thought the EVM did the conversion

Are my thouht processes correct now?

Please reply I want to make sure I have my head wrapped around the process

Thanks

chefrusty

D’Arcy Munger

Visit Topic or reply to this email to respond.

In Reply To

\ 45x45 Chefrusty
October 12

EVM converts the smart contract, say in Solidity… into Byte Code in a sandbox to keep host computers safe as well Solidity, and now Viper and can do loops The relationship between Solidity and Bytecode is the EVM. Bitcoin network can’t run smart contracts because of the fear if spamming, clogging t…

1 Like