~/lightning

Lightning Talk: Async Function Pointers

Lightningat TokioConf 2026 · 2026-04-20..04-22· [rust]
slides:none on file

Claims that async functions can be made into lightweight function pointers inside a DSL interpreter, replacing trait-object dispatch and cutting indirection. Implements a sync glue function that returns a box future so the runtime invokes a single 8 bytes in bytecode pointer per call, reducing cache misses and indirections. Reports it works in production for a Rust programmable dataplane, notes heap allocation today and a possible 512 byte stack future optimization to avoid boxing.

AI-written summary · about

~/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.