-
The EVM which is the Ethereum Virtual Machine reads and executes the smart contracts and then gives instruction to the CPU.
-
Byte Code
-
The relationship is the compiler takes the code written in solidity language and converts it to byte code which the EVM understands.
-
Because the Bitcoin programming language called Script is Not Turing Complete which means it is limited.
-
A Turing complete programming language is a language that can be used for any form of data-manipulation when programming.
-
What does the EVM do?
The Ethereum Virtual Machine is basically a global computer that is composed of several nodes of individual computers in a peer to peer network. It can execute computer instruction and is Turing complete. Being TC allows it run loops. -
What is the format of the instructions that the EVM can read?
All source is compiled into Byte Code which is the only readable code for EVM. -
What is the relationship between the programming language Solidity and Byte code?
Solidity is a High-Level programming language and Bytecode is the compiled machine readable code. -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is not Turing complete. -
What is a Turing Complete programming language?
A Turing complete programming language has the ability to run loops.
1. What does the EVM do?
each computer node in EVM network are there to read smart contracts and tell CPU what instructions to execute.
2. What is the format of the instructions that the EVM can read?
Instructions are formatted to Bytecode(compiled version of source) to be read by EVM.
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity(as well as other source code) is programming language that is compiled into Bytecode.
4. Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin has primitive programming code written in Script and is NOT turing complete(no looping).
5. What is a Turing Complete programming language?
Solidity is a Turing Complete that allows looping.
-
The EVM is a virtual software-based computer that is being run on every node on the Ethereum network. It is a decentralized Turing-complete virtual machine that executes smart contracts and executes financial transactions on the network and ensures consensus.
-
The EVM executes all commands by reading bytecode.
-
Solidity is an English-based high-level programming language that gets translated into bytecode by the compiler on the EVM.
-
Bitcoin cannot run the same type of complex programs that Ethereum can because of the limitations of its programming language which is called script. It is not Turing-complete and cannot run the necessary functions that the EVM can such as loops. Additionally, the computation-intense programs that are run on Ethereum would lead to severe network congestion. Bitcoin was designed as a digital currency whereas Ethereum was designed with an emphasis on programability and the execution of smart contracts.
-
A Turing-complete programming language is one that can theoretically be used to solve any computational problem.
-
The EVM acts as a âmiddle manâ between the cpu of a computer on the network, and the program being run on the blockchain. The smart contracts are ran on the EVM.
-
The EVM reads Bytecode.
-
Solidity is the programming language used to create the smart contract, then it is compiled into Bytecode, which is what is read and interpreted by the EVM.
-
Bitcoin does not have a turing complete programming language, meaning it is limited to only simple functions.
-
A Turing complete programming language is a language where anything conceivable can be programmed.
-
What does the EVM do? The Ethereum Virtual Machine is like a universal translator. It takes the smart contract code, which is written in a language that humans can understand (Solidity), and translates it into a language that the Ethereum network can execute. Just as a gaming console runs different games, the EVM runs various smart contracts on the Ethereum network.
-
What is the format of the instructions that the EVM can read? The EVM reads instructions in Ethereum bytecode, similar to how a DVD player reads only DVDs, not VHS tapes. Developers write smart contracts in a Solidity, which is then compiled into this Ethereum bytecode.
-
What is the relationship between Solidity and Bytecode? Solidity and Bytecode are like a script and its movie. Solidity is the script, written in a way that developers can easily understand and write. Once the script is complete, itâs turned into a movie that the EVM can watch and understand, executing the instructions as intended.
-
Why canât Bitcoin run complex programs like Ethereum? Bitcoin is like a basic calculator, designed to do specific tasks (processing Bitcoin transactions), whereas Ethereum is more like a smartphone, capable of running a variety of apps (complex programs or smart contracts). This difference is because Ethereum uses a Turing Complete language, allowing for more complex and varied operations than Bitcoinâs more limited script.
-
What is a Turing Complete programming language? A Turing Complete programming language is like a Swiss Army knife for computing - it has the capabilities to perform almost any computational task, given enough time and resources.
-
What does the EVM do?
The Ethereum Virtual machine runs code. All smart contracts are run by the EVM on each node. -
What is the format of the instructions that the EVM can read?
Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
programmers program in solidity the compiler compiles to bytecode and then that is read by the EVM -
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoinâs script is not turing complete, so you canât run complex applications. ETHâs Solidity is turing complete -
What is a Turing Complete programming language?
A language that can allow you to do anything you want. can solve all the problems you throw at it. namely, can do loops
- What does the EVM do? The EVM secures the integrity of the blockchain by encapsulating the EVM codes from the rest of the CPU on the local computer so that a corrupted node cannot take down the entire network of computers that make up the EVM. The EVM also secures the data on the blockchain by requiring the consensus of the creation and execution of the smart contract across multiple nodes.
- What is the format of the instructions that the EVM can read?
The format of the instructions that the EVM can read is machine language Bytecodes. - What is the relationship between the programming language Solidity and Bytecode? Solidity is a programming language that uses english-like codes that a developer can write to give instructions to the computer to carry out. The code written in Solidity must first be compiled (translated) into machine language (Bytecodes) which the CPU of the computer unit can then understand and execute.
- Why canât Bitcoin run the same type of complex programs like Ethereum can? It would be too memory/storage space intensive to store the larger programs on the Bitcoin blockchain. Also, the language Script used on Bitcoin blockchain is rudimentary and not capable of solving all situations presented to it.
- What is a Turing Complete programming language? A Turing Complete programming language is capable of solving any situation presented to it. For example, it can handle programming loops to structure repetitive iterations dependent on pre-determined conditions.
EVM Passes the instructions from Ethereum Network to the individual CPU and forms the node on behalf of the CPU
Bytecode passed by a compiler like solidity
Solidity compiles the instructions for Bytecode
Bitcoin programming language script only processes simple instructions and cannot do loops.
Something which can run multiple iterations or combinations like Do loop.
- What does the EVM do?
An EVM reads and exicuted a Smart Contract.
- 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 the language programmers use to write the Smart Contract. Solidity is then compiled into Bytcode.
- Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin is not Turning Complete and can not solve all problems like a full programming language.
- What is a Turing Complete programming language?
One that has loops. Loops is a feature that you use to tell a computer to do something several times. Being able to call a function to run when you need in a program is a loop feature.
1- What does the EVM do?
EVM concept make it possible for us to execute code on Ethereum in such way that we all in consensus about what the result should be.
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?
developers write their logic using Solidity then compile it using a compiler to Byte code so the EVM can read and execute it.
4- Why canât Bitcoin run the same type of complex programs like Ethereum can?
because itâs not turning complete (TC), limited and canât perform complex tasks like looping where Ethereum is a turing complete (TC)
5- What is a Turing Complete programming language?
It can solve all problems, it can do loops, you can build any app on Ethereum
-
What does the EVM do?
The EVM (Ethereum Virtual Machine) executes smart contracts on the Ethereum network in a decentralized manner, ensuring all nodes reach consensus on the results. It also provides a layer of security by isolating the execution of smart contracts, preventing them from directly accessing the nodeâs CPU and potentially compromising the network.
-
What is the format of the instructions that the EVM can read?
Smart contracts in Solidity are turned into bytecode, which the EVM reads and executes.
-
What is the relationship between the programming language Solidity and Bytecode?
For the EBM to be able to execute the smart contracts, the solidity code of the smart contract needs to be compiled into bytecode. The EVM is then able to interpret the bytecode and instruct the CPU to execute the smart contract.
-
Why canât Bitcoin run the same type of complex programs like Ethereum can?
Bitcoinâs programming language is not Turing Complete, meaning it lacks the ability to perform more complex operations, such as loops and conditional logic, that are necessary for advanced programs like smart contracts. This limitation was intentionally designed to prevent spam and manage block size.
-
What is a Turing Complete programming language?
A Turing Complete programming language can handle any type of calculation or logic, allowing it to create complex programs like smart contracts.