-
EVM is code that reads the instructions within the smart contract.
-
The format of the instructions must be in byte code.
-
Solidity is the program language that reads the byte code.
-
Bitcoin is not turing complete and cannot run complex programs.
-
Turing complete language is part of Solidity and allows you to program anything.
1, its the code that runs on the ethereum nodes and allows the entire network to operate successfully.
2, It reads byte code.
3, solidity is taken by the by the compiler and arranged in byte code for the evm to execute across the nodes.
4, Because bitcoins code is not turing complete.
5, Being turing complete allows complete flexibity and addition of programming so its use is far broader than bitcoins code.
-
It reads the code and executes the smart contracts. It also works as a layer of protection for the node if someone would deploy something malicious
-
Bytecode
-
You program in Solidity, but the code the is actually executed is in Bytecode
-
Because itās not touring complete
-
A program where you in theory can program anything you want, through for example loops
Execute smart contracts
Solidity
Even and solidity bytcode and cpu
Bitcoin code base differs it can only rune simple task
Can execute any computing task program
-
The Ethereum Virtual Machine runs the code in smart contracts. Each node runs this EVM so therefore the code is runned decentralized.
-
Bytecode (written by creators in solidity).
-
Bytecode is read by the EVM where Solidity is the languange which we can programm in and is linked/translated on its turn to bytecode.
-
Because bitcoin hasnāt a Turing Complete programming language.
-
A TC language can in solve all problems which could occure.
The EVM ethereum virtual machine is a program that all ethereum nodes run on there computer that encapsulates and processes smart contracts on the ethereum blockchain.
The format of instructions the evm reads is called bytecode
The relationship between solidity and bytecode is that bytecode is the product of writing code in solidity and then running it through a compiler.
Bitcoin does not have a turing complete programming language. it can only run script which is comparable to web 1.0
A turing complete language is one can handle anything including the feature of loops, the repeating of code even with variable results and terms.
-
What does the EVM do?
It is Ethereum Virtual Machine It provides security. EVM runs on the existing hardware of each node. Each EVM needs to read the smart contract and reach the same result, then we have consensus. -
What is the format of the instructions that the EVM can read?
It is called byte code. -
What is the relationship between the programming language Solidity and Bytecode?
Smart contracts will have a bunch of instructions in byte code. The EVM reads the byte code. What programmers are using to read this byte code is Solidity. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
BTC is run on script, it is not turing complete, it is limited in the problems it can solve. -
What is a Turing Complete programming language?
A program where you can program anything, in theory.
.
- intermediary program that tells your cpu to execute smart contracts / code
- Bytecode
- Solidity creates the Bytecode for EVM to read
- Because it is not a true and complete program
- Program that can solve any problem
- What does the EVM do?
It reads the programs from the Ethereum blockchain and tell the CPU of the computers what to execute.
- What is the format of the instructions that the EVM can read?
Byre code.
- What is the relationship between the programming language Solidity and Bytecode?
The programmers program on Solidity and then uses a compiler to transfer it into bytecode that the EVM can read.
- Why canāt Bitcoin run the same type of complex programs like Ethereum can?
The Bitcoin network is working with a much simpler programming language called script and it is not Turing complete.
- What is a Turing Complete programming language?
A Turing Complete programming language is a language that you can basically program in it anything you can think of. It is not limited. It has loops also.
- EVM is exacuting the SC on the nodes in oder to get concencus. It isolates the SC code from the the CPU which in turn recieves the processed code from the EVM.
2.EVM is compiler dependant. That way the format does not matter.
3. All programing languages are bytcodes basically.
4.Intentionally bitcoin works on a limited format (i.e code language) to prevent data inflation.
- TC is the full all included code format that enables complex programs based on the abilty to execute loops (and other features?)
What does the EVM do?
It runs Programms (Smart Contracts) stored in the Ethereum blockchain on the network nodes using their CPUs and Ressources (RAM)
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?
Solidity gets compiled to ByteCode
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Because the programming language for Bitcoin is not Turing complete and thus cannot perform all operations for complex programms
What is a Turing Complete programming language?
With a TC language, you can programm any algorithm, solving any given problem. For this, e.g. loops and variables are necessary.
-
The etherum virtual machine (EVM) is running on every node and able to read the smart contracts and give commands to the HW resources of the node. It also is an additional layer of security so that no malicous code could be executed.
-
Pure Bytecode - therefore if you use a programming language like Solidity you need a compiler which than translates it to byte code.
-
see above - Solidity is language and will be translated into bytecode which can be executed
-
Bitcoin is not primarly designed for smart contracts and should be mainly used as money. As well it could harm the security and scalability of the blockchain as the infrustructure atm is not build for this amounts of code.
-
A programming language where you can use loops to make operations and tasks much easery, especially if variables change.
- EVM reads and executes smart contracts.
- The EVM runs in a seperate area than the CPU. This prevents malware from running in the CPU.
- Bytecode is the language Solidity can read and execute on.
- Bitcoin uses different programming that is not Turing complete.
- A Turing Complete language is one that can read, write, and execute complex smart contracts.
- What does the EVM do?
The Ethereum Virtual Machine executes the smart contracts. - What is the format of the instructions that the EVM can read?
It is the programming language Solidity. - What is the relationship between the programming lang Solidity and
Bytecode?
The code written in Solidity is compiled to Bytecode to be executed. - Why canāt Bitcoin run the same type of complex programs like
Ethereum can?
Bitcoin uses Not Turing Complete programming lang, called Script, which is limited (no loops).
Question 1
What does the EVM do?
The EVM is the Virtual Machine which is run by all the computers on the Etherium Network. It secures the network computers from attack from malicious code and it executes bytecode code. It executes the instructions in a smart contract
Question 2
What is the format of the instructions that the EVM can read?
The EVM takes instructions which are written in Solidity or Viper and compiled into the format known as bytecode
Question 3
What is the relationship between the programming language Solidity and Bytecode?
Solidity and bytecode are basically the same but with a major difference. Solidity is a higher level human readable form of the instructions which the EVM will execute and Bytecode is the compiled machine readable form of the code written in Solidity.
Question 4
Why canāt Bitcoin run the same type of complex programs like Etherium can?
I think the main issue is block space because large instruction sets would consume too much block space and be too expensive. Also the language Bitcoin uses called Script is not Turing complete. Also there were concerns about malicious loops running on the network which may disrupt the bitcoin network.
Question 5
What is a Turing Complete programming language?
A turing complete language is a language which is capable of completing many sorts of complex tasks and contains programming structures like loops etc etc. So in a sense turing complete refers to a language that can complete any problem no matter how complex.
- EVM does Ethereum virtual machine and execute smart contracts.
- EVM runs a sandbox environment execute the smart contract and mean isolated
- The language Solidity and Bytecode is complied together.
4.Bitcoin can run the same as Ethereum because Bitcoin has a script which is not turing complete.
5.Turing complete programming is a language that is flexible that can be write whatever program.
Hey @Matt1
Just few precision regarding your answer
3- Solidity and Bytecode arenāt compiled together.
When your Solidity code IS compiled, the compiler will give you a bytecode object which represent your code in solidity. Then the evm will be able to execute the bytecode of your contract
4- Bitcoin and Ethereum are not the same , the script language is not turing complete, solidity is turing complete. If you want to go deeper the Evm is not turing complete because every execution is limited by the gas limit
What does the EVM do?
The Ethereum Virtual Machine is the code that reads all the smart contracts on the network. Itās both the operating system and structures the networks security
What is the format of the instructions that the EVM can read?
The EVM reads byte code
What is the relationship between the programming language Solidity and Bytecode?
Solidity is readable by lay-men and compiled into Bytecode which is pure code that then runs on the EVM
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Because the BTH script is limited to currency use case
What is a Turing Complete programming language?
A possibility for developers to write their own programs on top of the blockchain. In theory there are no limitations for what programs can be created.
- What does the EVM do?
Evm reads byte code in smart contracts and interacts with the cpu. - What is the format of the instructions that the EVM can read?
Evm reads byte code - What is the relationship between the programming language Solidity and Bytecode?
Solidity is the programming language which is then turned into bytecide for the evm to read. - Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin was intended to just be a currency. It is not turning complete. - What is a Turing Complete programming language?
Turing complete is a program that allows looping in the command language.
-
What does the EVM do?
It compiles and runs the code lines in the smart contracts. -
What is the format of the instructions that the EVM can read?
Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Solidity is a programing language designed for Ethereum and it needs to be compiled into Bytecode in order for EVM to read it. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin can only very run simple commands (Script). It was designed on purpose in order to avoid spam from loop functions and reduce of the blockchian. It was meant to be degital money/gold. -
What is a Turing Complete programming language?
A Turing Complete language allows solving any conceivable problem.