~/talk

Bootstrapping a Compiler with Yul

Talkat Solidity Summit 2022 · on Wednesday, 2022-04-20· [compilers-and-language-design, web3]
links:none on file
slides:none on file

Claim: Yul lets Fe bootstrap a working compiler quickly by generating a Yul AST runtime that the Solidity compiler emits to bytecode. Implementation uses the yulzer crate and Rust declarative macros to emit hundreds of boilerplate runtime functions (ABI encode/decode, storage access, event emits) and a generated dispatcher switch that maps public functions; the backend then applies optimizations that drop unused helpers. It works and is reasonably gas‑efficient, but embedding the Solidity toolchain adds build time and system dependencies.

AI-written summary · about

  1. 0:00Intro
  2. 0:25Overview
  3. 1:55What you need
  4. 3:33tooling
  5. 5:22runtime functions
  6. 6:50contract initialization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.