- What does the EVM do?
An adicional layer, with provides security preveting the code to control the network.
He too provide the consensus to the network, checking if the byte codes is equal in each node for each 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 compiled into bytecode - Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin blockchain developers preferred the high security and keeping programs simple ( its a money,
and that’s just it ) - What is a Turing Complete programming language?
With TC programming languages you can theoretically create anything.
- What does the EVM do?
EVM is a program, run on every ethereum node. It can execute the smart contracts that are written in solidity language and compiled into bytecode.
- What is the format of the instructions that the EVM can read?
EVM can read Bytecode
- What is the relationship between the programming language Solidity and Bytecode?
Solidity program has to be compiled, by the use of compiler, into bytecode, to be readable by EVM.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because bitcoins’s programming language “script” is not turn complete, and doesn’t allow every possible program to be written on top of it.
Possibilities of Ethereum’s projects, using turing complete Solidity are limitless. But that comes with a cost with possible issues with scalability, over expansion of nework’s data size and possibility of spamming the network, by abusing the function of loops. This issue was solved by introduction of fees on the processes.
On the other hand, bitcoin’s “script” is not turing complete. That means it is limited, simple, network is extremely secure, spam resistant and more suitable to be used as a transfer of value, in opposite of ethereum platform’s infinite possibility to realise every idea, no matter how abstract.
- What is a Turing Complete programming language?
Turing complete programming language can solve any kind of algorithm, so any kind of application can be written, using it. Expression “turing complete”, comes from theoretical example, represented by Alan Turing. That is a machine, that can calculate any mathematical problem.
One feature of turing complete language is capability of making loops, that is multiplication of processes. Solidity can produce loops, bitcoin’s script can’t.
-
EVM, ethereum virtual machine, executes smart contracts
-
bytecode
-
Soliidity is a program language that tells the EVM what do to using a compiler that gives the information to bytecode
-
BTC is progamming code is script and cannot do complex things and it is not Turing complete
-
It gives you the ability to program money to do just about anything, it can also do loops or it can be told to do things over and over
- The Ethereum Virtual Machine is a piece of code that runs on all the nodes in the Ethereum network. It reads and executes the smart contracts using the CPU and other hardware of the nodes. It ensures that no malicious code gets through to the CPU’s of the nodes.
- The EVM reads instructions in byte code.
- Solidity must be run through a compiler to produce the byte code that the EVM can read.
- Because the simple language that runs on the bitcoin blockchain, Script, is not Turing Complete.
- A Turing Complete programming language allows a program to be written that can solve all problems.
-
The EVM is a virtual machine that executes smart contracts on the network.
-
The format of the instructions must be in bytecode.
-
Solidity is the language that is used to write code for smart contracts which is then converted into bytecode.
-
Bitcoin can’t run the same type of programs like Ethereum can because the script is not turing complete.
-
A turing complete programming language that can program anything and has the feature of loops.
Question #1 - What does the EVM do?
It’s a technology that allows to execute code on the Ethereum Network/Blockchain in such a way that we are all in consensus about what the result should be.
Question #2 What is the format of the instructions that the EVM can read?
It’s the information inside the byte code.
Question #3 What is the relationship between the programming language Solidity and Bytecode?
Solidity program has to be compiled, by the use of compiler, into bytecode then the EVM can read it from the bytecode - also there is a new programming language called Viper that EVM can also read no problem because code from Viper gets compiled into bytecode as well.
Question #4 Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin uses programming language called Script that is focued on simplicity transaction aspect of the Bitcoin blockchain(network) so that it is not prone to security issues and very stable.
Ethereum has to solve scalability issues.
Question #4 What is a Turing Complete programming language?
It means that the programming language can run complex code and use it to tell software to do things thousands of times and it can do it. Bitcoin is not Turing complete and it cannot do loops like Solidity. Thanks to that Bitcoin network is not spammed and works well as a store of value.
- The EVM handles the low level program instructions for smart contracts on the ethereum network.
- The EVM reads instructs as binary data.
- Solidity is a human readable language used to write programs that handle transactions executed as bytecode on the EVM.
- Bitcoin is not Turing Complete meaning it cannot be used as a programming language unlike Ethereum which can run programs using Solidity.
- Turing Complete languages can be used to write programs as opposed to non Turing Complete which cannot be used to write programs.
Homework: EVM
- What does the EVM do? Secures a network , executes code on a network, and creates consensus or non-consensus based on the smart contract.
- 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 is the program language for smart contracts and byte code is the compiled code from solidity.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can? The scripting language in Bitcoin is not TURING COMPLETE, meaning it cant solve all problems. Bitcoin uses a limited programming language. However, Ethereum can solve all problems and is referred to as TURING COMPLETE.
5… What is a Turing Complete programming language? A language that can solve all problems and is adaptable to increased difficulty. FOR LOOPS for example.
- runs apps and smart contracts on top of a node’s hardware.
- Bytecode.
- solidity is the programming language that once compiled turns into bytecode that EVM can read.
- Bitcoin was not thought for that purpose and does not have a Turing complete language.
- A turing complete language can simulate any turing machine, it has the whole set of basic functions/rules.
- What does the EVM do?
Ethereum Virtual Machine is a code that executes smart contracts on the Ethereum blockchain
- What is the format of the instructions that the EVM can read?
Bytecode is the code on EVM that reads the instructions.
- What is the relationship between the programming language Solidity and Bytecode?
**Read the the smart contract and pass the information to the compiler to read the instruction.
- Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin network can’t run the same type of complex programs because the Bitcoin Script programming language is not Turing Complete programming language.
- What is a Turing Complete programming language?
Solidity is a Turing complete language.
-
What does the EVM do?
The EVM reads the instructions in the smart contract and tells the CPU what to do. It prevents the smart contract from giving commands directly to the CPU. -
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 code of the smart contract is created using the programming language solidity (can also be another programming language like Viper). This code is then transformed into byte code by a compiler, because the EVM doesn’t care in which programming language the code was written, it only reads the byte code. -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
The programming language on bitcoin (Script) is not tuning complete. For example, it doesn’t allow the use of loops in your code. -
What is a Turing Complete programming language?
A programming language that allows you to program anything.
- Ethereum virtual machine reads the smart contract code. It is an intermediary between the smart contract and cpu to prevent malicious code
2.bytecode
- Solidity code is converted to bytecode so the evm can read it.
4.bitcoin is a simpler system that cant handle all the potential terms of a smart contract
- Solidity is turing complete. Bitcoins language script is not turing complete
-
What does the EVM do?
The EVM is Ethereum Virtual Machine, it reads and executes the smart contracts, it is code that is propagate to all CPU/nodes on the Ethereum network which forms consensus -
What is the format of the instructions that the EVM can read?
The EVM reads the instruction in bytecode format -
What is the relationship between the programming language Solidity and Bytecode?
Smart contracts are written in Solidity which are then compiled into Bytecode for the EVM to read and execute -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin’s programming language, Script, is non-Turing Complete, making it not able to solve any program -
What is a Turing Complete programming language?
Turing Complete languages are able to solve any problem in complexity through the use of loop commands
-
What does the EVM do?
The EVM reads all instructions on the smart contract to reach consensus. -
What is the format of the instructions that the EVM can read?
The instructions that can be read by the EVM are programmed in Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Solidity is the instruction language in Ethereum contracts programming and Bytecode is the execution language. -
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin’s programing language is primitive and lacks the robustness of Ethereum programming. -
What is a Turing Complete programming language?
This is programming language that enables a system to solve all reasonable problems that it has to solve.
1. What does the EVM do?
The Ethereum Virtual maschine executes the smart contract on the blockchain, like a CPU would run a code.
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?
Solidity is a readable complex program language. To run it on the EVM, the program size becomes an issue. So you compile it into the more streamline language Bytecode
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoins Script isn’t Turing Complete
5. What is a Turing Complete programming language?
Solidity, Viper
- EVM is an environment responsible for execution of smart contracts. It executes bytecode compiled from higher level languages.
- It is in bytecode.
- Smart contracts first written on Solidity, then compiled (translated) into bytecode and become understandable for execution by EVM.
- Because, Bitcoin’s script language is not Turing complete. I guess it’s hard to implement sophisticated logic or even simple loops, which is pretty useful and standard feature in most commonly known higher level programming languages.
- Well, it is a programming language that can run any program that a Turing machine can run given enough time and memory. In other words, if you can write a program that will run on a Turing machine, then you can theoretically write the same program using Turing complete language.
-
What does the EVM do?
-reads the instructions in the smart contract and gives the instruction to CPU to execute them
-
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?
-you write instructions with Solidity, then use a complier to convert these instructions to byte code
-
Why can’t Bitcoin run the same type of complex programs like Ethereum can?
-because Bitcoin’s programming language Script is not turing complete as Ethereum’s Solidity is (or maybe because Bitcoin doesn’t have Vitalik??
)
-
What is a Turing Complete programming language?
-you can program anything you want
What does the EVM do? - It reads in a protected manner byte-code from the network of nodes on which the Etherium Virtual machine is constructed and translates that into instructions about what the Smart Contract dictates should be done.
What is the format of the instructions that the EVM can read? - It reads the byte code format derived from Smart Contracts.
What is the relationship between the programming language Solidity and Bytecode? - Solidity is a Turing Complete language made specifically for writing the Smart Contracts in Etherium which are converted to byte code instructions suitable for any EVM to read and relay to the CPU it is associated with.
Why can’t Bitcoin run the same type of complex programs like Ethereum can? - For security reasons, Script - the language used to program Bitcoin, is kept simple and is therefore not Turing complete, specifically it allows no loops, only primitive constructions.
What is a Turing Complete programming language? - It is a language with no limitations on what can be constructed.
-
The Ethereum Virtual Machine (EVM) is an application installed in every node of the Ethereum network that reads and verifies smart contracts and gives the order to the CPU of the node to execute it.
-
Bytecode.
-
The smart contract is programmed in Solidity but then its compiled to Byte code for the EVM to read it.
-
Because Bitcoin uses Script, a non turing complete programming language that cannot execute loop instructions.
-
Like Solidity, it is a programming language that allows to write loop instructions that will be executed several times, making theoretically possible to program anything you want.
-
It reads logic (solidity is the language that’s used) from the smart contracts and executes that code.
-
EVM looks at instructions from the smart contract (bytecode) and will tell the CPU (node) of the pc what to do.
-
Solidity is the user facing language which we understand and it compiles the information in bytecode into the smart contract
-
Because it is not Touring complete it can’t solve all problems it has script, in theory ETH can solve all problems as it is touring complete
-
Can solve all problems, anything that you can think of and can be coded can be done