-
EVM creates a virtual machine on top of hardware infrastructure of all nodes in the network which can execute the smart contracts. It is important for security, where EVM is an extra layer for code processing instead of doing so on the PC components itself and exposing the devices to potential malicious behaviour of the smart contract. It is also important for consensus purpose - to share all the aspects of the smart contract between all the nodes in the network, they will simply share the EVM environment.
-
Bytecode
-
Solidity is higher level of programming language used by human programmer to define commands, instructions and also complex cycles etc. Then the result gets compiled to Bytecode which is low level language readable by computer which consists of set of instructions that get executed one by one.
-
Bitcoin is created using programming language Script, which is not Turing complete and except the original bitcoin purpose and function (as digital money) allows only very little extra to be programmed on top.
-
Turing complete is such programming language that, by using a sequence of however many instructions, is able to do anything that programmer wants it to and is able to tell the program to do.
1. What does the EVM do?
The EVM (Ethereum Virtual Machine) makes it possible to execute code on the Ethereum blockchain by running the bytecode instructions. The EVM essentially encapsulates the SC, and a security layer is therefore added so that the CPU does not get exploited through potentially malicious instructions that could takeover your computer as a node.
2. What is the format of the instructions that the EVM can read?
EVM can read Bytecode, which is complied to be read by an EVM instead of a CPU.
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity is used to write the SCs and it is then complied into Bytecode which can be read by the EVM.
4. Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin and Ethereum use two different languages: BTC uses script while Ethereum uses solidity. The former is not Turing Complete whilst the latter is. Because of the block size for bitcoin, large and complex programs that use Turing Complete properties such as loops would take up too much space and such programs would therefore not be feasible. Since Solidity is Turing Complete, it can compute everything that it needs to compute and thus run more complex programs.
5. What is a Turing Complete programming language?
A Turing Complete language is one which is able compute everything that it needs to. It would theoretically allow the programmer to write anything that they need to write and is a lot more flexible.
-
What does the EVM do?
Executes the byte code of contracts written in Solidity -
What is the format of the instructions that the EVM can read?
The code is interpreted to byte code for the EVM -
What is the relationship between the programming language Solidity and Bytecode?
Solidity is the high level language used by the developers which is compiled to bytecode for the computer to execute in the EVM -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
It lacks turing completeness in Scrypt and would not scale because of the blocksize and all of the contract information stored. -
What is a Turing Complete programming language?
Where code can be looped and maintain states and conditions.
-
The EVM works nearly the same way that the CPU of a computer works. It executes the computerās instructions step-by-step; interacts with computer hardware such as the hard drive, RAM, the screen, and the speakers; and therefore originates action.
-
EVM byte code is the format of instructions that the EVM can read.
-
Instructions in Bytecode are given through Solidity. Solidity is a Turing Complete programming language.
-
Bitcoin canāt run the same type of complex programs like Ethereum can because its programming language is Script rather than Bytecode. Script is not a Turing Complete language; it is very limited.
-
A Turing Complete programming language is a language that uses loops. These loops allow computer software to do one thing several times. They were developed to prevent spams and ensure the security of the network.
- Ethereum virtual machine is a security network layer that runs smart contracts using byte code.
- Byte code.
- Solidity instructions being compiled into bytecode for EVM to read and execute.
- BTC uses script programming language that is too primitive for solving complex instructions.
- In theory turing complete language could be used to solve any computational problem with not much of a practical use.
- The EVM is a security layer between the nodes and the cpu. It executes the smart contract step by step and transmits it on to the cpu.
- Byte code
- Solidity is the language used by ethereum programmers. It then gets translated in to bytes which is what the EVM reads. So it is possible to write smart contracts in other program language.
- Bitcoin is not Turing Complete. It is not programmable (in a very limited way it is).
- A TC language is one that is completely programable. So it allow a lot of complexity which is heavy in bytes that can create congestion of the blockchain when adaption increases. Itās a scalability issue
1.EVM .read the instruction in a smart contrakt. 2. EVM read byte code. 3. solidity can whrite instrucions in byte code.4. bitcoin are for tx money only in a safe way. 5. turing complete languageis solidity.
- What does the EVM do?
It“s a framework to execute instructions in the ethereum blockchain - What is the format of the instructions that the EVM can read?
Solidity - What is the relationship between the programming language Solidity and Bytecode?
Solidity is the programming language which is complied to create the byte code for execution - 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?
It can achieve any kind of logical conclusion based on 0s and 1s
1 An EVM (ethereum virtual machine) can read/manage/run smart contracts.
2 The format that EVM can read is bytecode (compiled from Solidity or Viper).
3 Solidity is a programming language analog to Javascript; itās a complete language that allows to perform complex tasks and give complete possibilities of programming. Bytecode is the compiled version of a Smart Contract written in Solidity.
4 BTC uses only Script; nowadays this is an obsolete language capable of doing a pretty limited amount of actions and itās absolutely not optimized to perform complex operations.
5 Turing complete languages are languages that allows cicles (loops), variables changes and give the ability to compile potentially every program imaginable.
- Etherium Virtual Machine is the secure enviroment all nodes run to execute smart contracts.
- The format of EVM“s instructions is Bytecode.
- Solidity is the programming language used to write smart contracts. They are then compiled to
Bytecode to run on EVM. - Bitcoin is not Turing Complete and cannot run loops.
- With a Turing Complete programming language a developer can create any application.
1 the EVM reads the smart contracts and transaction in an isolated state tells the CPU what to do
2 Bytecode
3 Solidity complies into bytecode
4 itās not able to make loops because not Turing complete
5 a dynamic language to creat applications
-
What does the EVM do?
Ethereum Virtual Machine is application that runs on network that reads and executes smart contracts. -
What is the format of the instructions that the EVM can read?
EVM reads instructions in Bytecode. -
What is the relationship between the programming language Solidity and Bytecode?
Smart contracts are written in Solidity language and they are compiled into Bytecode. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin Script language is not able to do complex operations. -
What is a Turing Complete programming language?
It is able to do complex operations.
-
What does the EVM do?
EVM is Ethereum Virtual Machine is a code that runs on the ether network between smart contracts and cpu, EVM provide consensus to all nodes and instructions to CPU. -
What is the format of the instructions that the EVM can read?
Bytecode, but it can read basically anything -
What is the relationship between the programming language Solidity and Bytecode?
Programmer use Solidity to code and they it complies the codes to Bytecode, the EVM then read the instructions from the Bytecode. -
Why canāt Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin runs on a language called Script, it is very basic. It cannot solve complex problems. Solidity can solve any problems. (Turing complete language which contain Loops.) -
What is a Turing Complete programming language?
A Turing complete programming language can Loops, without written them by hand.
- I think it turns Solidity code into bytecode and then executes instructions in the smart contract.
- Either solidity and/or bytecode?
- Solidity is compiled to bytecode.
- The Script language is not Turing Complete
- It can execute all programming features.
-
EVM or Ethereum Virtual Machine reads and executes smart contracts on the network of nodes (which has EVM information in them).
-
EVM reads byte code.
-
Solidity is one of the possible progamming languages used to write the codes. Through a compiler the solidity code is converted to byte code which the EVM can read.
-
It is because Bitcoin programming language (Script) is not Turing Complete. For example, it does not have the loop feature. Everything has to be hard coded.
-
Is it a programming language that can be used solve all sorts of computational problems.
- What does the EVM do? makes it possible to run code on top of the processor of each node in the ethereum blockchain
- What is the format of the instructions that the EVM can read? EVM Bytecode
- What is the relationship between the programming language Solidity and Bytecode? Solidity is what the the program is written in by the programmer. Then the Ethereum compiler, Viper, compiles the Solidity code into EVM Byte code for the EVM to read directly.
- Why canāt Bitcoin run the same type of complex programs like Ethereum can? it is not Turing complete
- What is a Turing Complete programming language? a computer language that do repetitive tasks
2. What is the format of the instructions that the EVM can read ?
Not quite right sir, the format of the instructions that EVM read is ByteCode.
If you have any doubt, please let us know so we can help you!
Carlos Z.
5.What is a Turing Complete programming language?
Quite right sir(s), but that could be one of the abilities of the Turing Complete programming language, could you please describe it in general terms?
If you have any doubt, please let us know so we can help you!
Carlos Z.
2. What is the format of the instructions that the EVM can read?
Quite close sir, but the format of the instructions that EVM read is ByteCode.
3. What is the relationship between the programming language Solidity and Bytecode?
Could you please explain you a little bit more about that relationship?
If you have any doubt, please let us know so we can help you!
Carlos Z.
Excellent answer sir! really well documented! keep it like that please!
Carlos Z.