~/talk

Go Inline Assembler: Dream or Reality

Talkat GoWayFest 2.0 2018 · on Friday, 2018-09-28· [compilers-and-language-design, go]
slides:none on file

Proposal implements one intrinsic function in the unsafe package that accepts an opcode name and Go values as operands, with a working prototype that emits assembly and in many cases matches hand-written asm performance (occasionally a bit slower for exotic control-flow tricks). Tooling (formatting, docs, linters) works because asm appears as Go, and functions become inlinable so there is no call overhead. Core reviewers close the proposal but experiments and third-party wrappers remain possible.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:44Performance gains with assembly
  3. 10:03Challenges of writing assembly
  4. 16:09Proposal for inline assembler
  5. 20:49Future of Go inline assembly
  6. 21:11Communication with Go team
  7. 22:39Q&A on assembly instructions
  8. 23:48Go assembly runtime guarantees
  9. 24:52Portability in assembly code
  10. 26:21Safety concerns with inline assembly
  11. 28:31Using the prototype implementation
  12. 29:35Alternative inline assembly approaches
  13. 31:26Q&A on style and tooling
  14. 32:52Closing remarks and Q&A wrap-up
~/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.