Lightning Talk: Async Function Pointers
summary
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








