EVM – What Would Happen if EVM Didn’t Exist in Ethereum

Architectureevm

It's not clear to me the importance of the Ethereum Virtual Machine and why it is used. So it is natural to ask what would happen if EVM didn't exist? or Ethereum didn't use it.

Best Answer

First to get an idea on EVM you may refer this question on what is EVM. And then,

What would happen if the EVM didn't exist?

As I understand,

Since ethereum should provide a platform independent (Otherwise you need to deploy different contracts at different addresses for different platforms?) running environment to execute smart contracts (providing a Turing Complete language to write smart contracts is a main specialty in Ethereum ) , A VM is highly needed. But why not an existing VM is not used? Ethereum has it's on requirements other than just executing a code. This answer requirements needed for the EVM will give a good idea on that. And this comparison with JVM will give a more insight to that.

Highlighting the security aspect Ethereum Virtual machine(EVM) provides the secured run-time environment for the smart contracts in the network. Smart Contracts are open to everyone in the network and anyone in the network is allowed to deploy smart contracts. When a node need execute a smart contract function, the code is run with in the particular node.

These reasons open up a security vulnerability, unless the run-time environment is not controlled. In a worst case scenario, it may lead nodes to be unavailable and ultimately the network to be unavailable. These vulnerabilities are prevented by controlling the run-time environment by the EVM.

Related Topic