Watch / Less Gas, More Fun: Optimising Smart Contracts through Yul

Less Gas, More Fun: Optimising Smart Contracts through Yul

  • YouTube
  • IPFS
  • Details

Less Gas, More Fun: Optimising Smart Contracts through Yul

Duration: 00:25:22

Speaker: Christian Reitwiessner

Type: Talk

Expertise: Expert

Event: Devcon 4

Date: Oct 2018

Due to the relative simplicity of the Ethereum Virtual Machine, it is possible to perform heavy analyses in order to optimize bytecode. The jump operations are a main obstacle for this, because they might require a preservation of all basic blocks in the worst case. To overcome this, Solidity's new optimizer operates on an intermediate language called Yul, which is close to EVM bytecode (and also wasm) but abstracts jump operations through real function calls. Each of the many optimizing operations are simple local equivalence transforms whose effects can be inspected at any time and which in combination should be both more reliable and efficient than the classic optimizer.
About the speakers

CR

Christian Reitwiessner

Christian created Solidity and is now co-leading the project. His interests include interactive and non-interactive verification, cryptography and in general analyzing and reasoning about computation.

  • Related