官术网_书友最值得收藏!

  • Mastering Ethereum
  • Merunas Grincalaitis
  • 180字
  • 2021-06-24 15:01:01

Introducing the Ethereum Virtual Machine

The Ethereum Virtual Machine (EVM) is a virtual machine that allows code to be executed with limitations regarding gas costs and price, where each individual interacting with it must pay a fee to protect the network from spamming attacks, so that many decentralized nodes can interact with each other using the same software. It processes bytecode that gets generated with assembly code, which, in turn, uses instruction called operational codes (opcodes). It's a Turing complete computer.

When I say Turing complete, I mean that the smart contract programming languages running on top of Ethereum have the following properties:

  • They have unlimited access to random access memory (RAM)
  • They can make decisions based on the information available in memory
  • They can run forever with the help of while, for, and recursive loops
  • They can use functions

What this means, is that smart contracts are capable of executing any operation that you give them, given enough time and resources. This is important to understand to avoid confusions when someone says that Ethereum is a Turing complete blockchain.

主站蜘蛛池模板: 镇安县| 阜新| 牙克石市| 射阳县| 汶上县| 长泰县| 上思县| 抚远县| 黄浦区| 古交市| 宜宾县| 汉川市| 新宾| 扬中市| 东乡族自治县| 开化县| 高州市| 三门县| 兰州市| 晋中市| 昌吉市| 布尔津县| 霞浦县| 简阳市| 海安县| 衡南县| 洱源县| 乌兰浩特市| 三台县| 宾川县| 白银市| 金乡县| 宝丰县| 日照市| 乌兰浩特市| 吉安市| 嘉兴市| 闸北区| 苏尼特左旗| 泰宁县| 辽中县|