Homework on EVM

1.The EVM(Ethereum virtual machine) s purpose is to be in the middle between the smart contract and the CPU mainly for sec unity reasons
2.it runs in an isolated environment for security reasons.
3.Solidity is the language used to create the smart contract for ethereum,it will be translated into byte code so that the EVM can read it
4.Bitcoin is run on a more primitive and simple language which is not Turin complete.This is mainly because the developers don’t want to compromise on security, making BTC a gold like version on the blockchain
5.Turin complete means it can solve any problem

1 Like
  1. EVM reads smart contract and directs node CPUs based on code.
  2. EVM Byte code
  3. Solidity is the language that contracts are written that translate into byte code
  4. Bitcoin network is not turning complete
  5. A language that can handle multiple variable commands in a repeatable fashion using nested functions and variables. (Not sure if this is the best explanation but I think it makes sense)
1 Like
  1. What does the EVM do?
    EVM executes code on the Ethereum Network. It is the Ethereum Virtual Machine and it is the programing that makes the smart contracts possible on the network.

  2. What is the format of the instructions that the EVM can read?
    Solidarity is the programing language that EVM can read.
    Ethereum is currently working on a new programing code called Viper

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidarity converts the code into Bytecode.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoins network only allows simply scripts. It can not run an EVM program. This was done for security purposes and also size of the network.
    This lack of Smart Contract programing is the reason Ethereum was created. Bitcoins network is not a touring complete program.

  5. What is a Turing Complete programming language?
    A program that can run any language and solve all problems. Bitcoin script is not a touring complete languange. Solidity is touring complete and can solve any problem.

2 Likes
  1. What does the EVM do?

It is a virtual machine on top of ethereum network and it reads smart contracts.

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

The format is in bytecode.

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

You compile the code in Solidity so That EVM can read it in Bytecode

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

Bitcoin uses Script that has very limited capabilities.

  1. What is a Turing Complete programming language?

You can make loops in programing that expands the capabilities.

1 Like

Ah, that’s right. Thank you for the response!

1 Like
  1. EVM executes the smart contracts. Is a isolated environment that runs on every node and insure the consensus of the entire network
    2.the EVM can read byte code. Transpose solidity language code into byte code in order to execute the smart contract
  2. Transpose solidity language code into byte code in order to execute the smart contract
  3. Because bitcoin is an no Turing complete program language as ethereum is
  4. Turing complete program language is a language where you can theoretically write whatever you want and think
1 Like
  1. EVM reads smart contracts (instructions)) then directs the CPU’s (nodes) what to do.
  2. Instructions are written in Solidity then translated into byte by compliers
  3. Instructions are written in Solidity then translated into byte by compliers
  4. Script is not Turing complete
  5. Language that can theoretically accomplish any task asked
2 Likes
  1. The EVM (Ethereum Virtual Machine) reads and executes smart contracts.

  2. The EVM reads these small pieces of code in the language called Solidity. It is able to carry out these instructions that are running in the hardware.

  3. Solidity is a true and complete language and Bytecode is how the EVM reads the instructions.

  4. Bitcoin uses script language which is limited, It is not a true and complete language. Whereas, Ethereum uses Solidity which is a true and complete language.

  5. A turing and complete language has the features that allow it to utilize loops. Loops create a repetitive sequence of instructions until a specific end result is met.

2 Likes
  1. EVM reads smart contracts and then tells what CPU should do

  2. EVM reads smart contract instructions that are written in bytecode but to be able to do that EVM uses Solidity.

  3. The relationship is that the info inside the smart contract itself is written in bytecode. And bytecode is a low-level programing language which is compiled from high-level such as solidity. So EVM reads bytecode through solidity and bytecode is something that only EVM can understand. There is basically conversion from higher level programing to lower in order for orders that are inside smart contract to be executed.

  4. Because BTC is using script as a programing language which is not a Turing complete, and this makes BTC very limited if you compare it to ETH, where ETH is on solidity, so you can program anything you want, also ETH network itself is dynamic and programmable much more than BTC network.

  5. This means that this system is able to recognize or decide other data-manipulation rule sets.

2 Likes
  1. EVM reads the Byte Code of smart contracts and excecute the instruction written down on these.

  2. Byte Code

  3. Solidity is the language used to programme on Ethereum. Byte codes are a kind of translation of these language that EVM can read in smart contract.

  4. Because Bitcoin uses script language instead of solidity and it is not Turing Complete.

  5. That means that theoretically you can programme everything with it and that its not limited.

2 Likes
  1. What does the EVM do?
  • EVM basically can run the solidity code which is compiled into byte code. And it is the thing which is run by every Ethereum node around the world.
  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 is the smart contract language which is used to create the Byetecode run by EVM.
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • Bitcoin was created like this in terms of the security problems. In this manner, bitcoin can just finish its function of being a kind of peer to peer money to store value.Although it can be slow, and the programming language is not Turing-complete.
  1. What is a Turing Complete programming language?
  • In a Turing-Complete language, you basically can write whatever kind of code you want like any other basic programming languages. Specifically, you can use loop in a Turing-Complete language.
2 Likes
  1. The EVM runs over the CPU to execute the smart contract , the give the instruction to the CPU

2.Bytecode

3.you are writting your smart contract in Solidity language, who is going to the compiler to exit into bytecode to be read from the EVM

  1. it is not turing complete

  2. it is a program who can solve any problem or situation

1 Like

1. EVM: Ethereum Virtual Machine.

2. EVM can read byte code which can be compiled by different Coding languages such as Solidity and Viper.

3. Bytecode is generated by the compiling of Solidity language.

4. Because Bitcoin was written using Script language which is not Turing complete but bitcoin can do simple coding to have similar but very limited uses such as smart contracts, using Multi-sig code.

5. Turing complete basically means that programing language can process and calculate any type of mathematical calculations.

1 Like
  1. The EVM (Ethereum Virtual Machine) executes smart contracts.
  2. EVM runs EVM bytecode which is compiled from Solidity
  3. Solidity is the high level language that needs to be compiled to EVM bytecode before the machine can execute it.
  4. Bitcoin is limited because it’s not a virtual machine, and Script is not a true programming language.
  5. A Turing Complete programming language can solve all types of computational problems.
2 Likes
  1. What does the EVM do?
    EVM is Ethereum virtual machine, running on top of the existing hardware of each node in the Ethereum network. EVM makes possible for us to execute code on this network in such way that they are all in consensus about the result should be.

  2. What is the format of the instructions that the EVM can read?
    EVM will look at all the instructions and do all calculations will read the Smart contrats in Solidity but compiled into EVM byte code.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is a programming language designed for developing smart contracts that run on the EVM.
    When we compile the solidity code using the compiler, it will translate our code into bytecode a object-oriented programming code compiled to run on EVM instead of a central processing unit CPU ,
    Bytecode only one program code the EVM can understand.

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

Bitcoin program language Script is not turing complete, very limited, it allows TX in digital money … meaning that this program language can’t solve all problems that it might have to solve,
Ethereum uses Solidity another programming language which is a turing complete, everything can be programmed in Solidity.
Ethereum is all about Smart contrats which will have all instructions in byte code, and the compiler will take the solidity code , will compile the logic and instructions given in Solidity into byte code then the EVM will read and execute .

  1. What is a Turing Complete programming language?
    A Turing Complete programming language means anything can be programmed in Solidity.
    Using loops allows programmer to tell software to repeat an operation several times .
1 Like
  1. EVM (Ethereum Virtual Machine) has the ability to read and execute smart contracts which are essentially small or precise programs
    2.The EVM reads the bytecode.
  2. Solidity compiles the language which programmers use into a language the EVM can interpret which is Bytecode. I am assuming bytecode is similar to binary code that a traditional central computer understands, like Java, which compiles the programmers language into a language the computer can understand (machine language) which is binary. Bytecode is designed to run on virtual machines.
  3. Bitcoin is not turing complete, meaning it cannot solve all the problems or interpret all the instructions.
  4. Solidity and Viper are turing complete languages.
1 Like
  1. EVM interprets the smart contract
  2. EVM reads bytecode
  3. Solidity is a programming language that is used to make smart contracts. Bybit is a language that is for EVM
  4. BTC is too primitive and does not want to be spammed with so much data
  5. TC (unlike btc that is NTC) means that anything and everything can be programmed as one wishes/likes/needs
2 Likes
  1. An evm is able to run programs on a block chain. These codes can be very specific and have any type of payout amd criteria.

  2. An evm reads byte code

  3. Solidiy is the programimg languge etherum code is written in. This code is put through a compiler and converted to byte code so an evm can read it

  4. Bitcoin dosnt have evms and so the code will have to be written into the blockchain. This would make the blockchain much larger and also makes it possible for people to spam.

  5. A turimg complete languge allows the possibility for loops

1 Like
  1. EVM reads a smart contract in order to determine its validity.
  2. Byte Code
  3. Solidity presents instructions in English which are then translated into bytecode for the EVM to read and evaluate,
  4. It is not Turing Complete, unlike Ethereum programming which is.
  5. Turing Complete programming languages are capable of handling loops.
1 Like
  1. What does the EVM do?
    The Ethereum Virtual Machine executes the bytecode of a smart contract using the CPU of a Ethereum node ensuring security of the node.
  2. What is the format of the instructions that the EVM can read?
    See 1. bytecode
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity code is compiled into ByteCode
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin code (Script) is not Turing Complete (limited capabilities)
  5. What is a Turing Complete programming language?
    A TC complete programming language can be used to code solutions for any problem, as an example it can code loops
1 Like