~/talk

Towards Exact Semantic Equivalence of Erlang BEAM Constructs: Lessons from Advanced(…)

Talkat Erlang 2026 · 2026-08-24..08-29· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Built an emulator in Erlang and decompiler pipeline reproduces BEAM behavior for most cases but exposes four concrete mismatches: binary pattern ops need dedicated helpers (floats, UTF‑8, non‑aligned bits), funs hit a 255 arity limit requiring an erase/named‑fun adapter, selective receive only admits a costly selective receive approximation that scans and queues mailboxes, and exception frames show a stack/line metadata mismatch with erl_eval. Tests and executable validation scripts run and empirically confirm these gaps and the proposed workarounds.

AI-written summary · about

  1. 0:00Semantic equivalence in BEAM
  2. 1:49Exact equivalence boundaries
  3. 3:59Equivalence criteria and exclusions
  4. 6:04Decompiler lessons and mismatches
  5. 9:41Binary matching gaps
  6. 12:59Function adapter 255 args
  7. 17:10Selective receive emulation
  8. 20:26Stack trace differences
  9. 22:11Published work and validation
  10. 23:56Boundary frontier findings
  11. 24:59Takeaways and design
  12. 26:25Q&A
~/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.