# 1.2 以太坊虚拟机简介

根据以太坊黄皮书（<https://ethereum.github.io/yellowpaper/paper.pdf）的定义，以太坊虚拟机（Ethereum> Virtual Machine，简称EVM）是一种准图灵完备的状态机（Quasi-Turing Complete Machine）。之所以将这种状态机定义为“准图灵完备”是因为其所允许执行的计算量受限于以太坊gas的设置。

通俗地说，以太坊虚拟机是一个完全独立的沙盒，以太坊智能合约合约代码可对外完全隔离并在 EVM 内部运行。EVM运行在每个以太坊全节点上，同时又与主网的其余部分隔离，运行时不影响主区块链的操作。因此以太坊有时被形容为“世界电脑”。为了减少资源耗费及保证系统性能，以太坊虚拟机并没有采用模拟完整计算机的模式，而是使用更为轻量级的虚拟机构架。

以太坊虚拟机是以太坊执行智能合约的核心部分。它为智能合约的实现提供了基础，可以实现任何复杂程度的操作。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://u.naturaldao.io/solidity/evm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
