~/talk

Better x86 Assembly Generation with Go

Talkat dotGo 2019 · on Monday, 2019-03-25· [go]
slides:none on file

Claim: generating Go assembly with a Go program makes libs smaller, safer, and reviewable. Uses AO to emit plan-like assembly, with a built-in register allocator, automatic stack and stub generation, and one function per x86 opcode. Demonstrated a sha1 implementation that drops roughly 1500→100 lines of unrolled asm into readable generator code and is used to produce working stdlib crypto primitives with fewer manual bugs.

AI-written summary · about

  1. 0:00Intro
  2. 0:28What is assembly
  3. 4:11The problem
  4. 5:26Is this fine
  5. 7:14Cogeneration
  6. 8:35PeachPie
  7. 10:50Hello World
~/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.