The Extended Berkeley Packet Filter (eBPF) is a sandboxed virtual machine that runs on operating systems with kernel privileges. Currently, eBPF programs are either translated from a subset of C, called Restricted C, or from bindings available for languages such as Rust or Python. This paper describes Honey Potion, a compiler that compiles Elixir to eBPF binaries. Translation is challenging, for it must not only preserve semantics, but also satisfy the eBPF verifier, which requires proofs of in-bounds memory accesses and termination. The translator relies heavily on this last constraint—ensured termination—to implement different optimizations: constant propagation, type specialization and partial evaluation. Honey Potion is publicly available, and has been used in the development of many eBPF applications, such as packet routers, process monitors and event loggers. To the best of our knowledge, Honey Potion is the first translator of a functional programming language to eBPF.
Tue 4 MarDisplayed time zone: Pacific Time (US & Canada) change
11:20 - 12:20 | Quantum Computing and BackendsMain Conference at Willow (Level 2) Chair(s): Davide Conficconi Politecnico di Milano | ||
11:20 20mTalk | ASDF: A Compiler for Qwerty, a Basis-Oriented Quantum Programming Language Main Conference Austin J. Adams Georgia Institute of Technology, Sharjeel Khan Google, Arjun Bhamra Georgia Institute of Technology, Ryan Abusaada Georgia Institute of Technology, Anthony Cabrera Oak Ridge National Laboratory, Cameron Hoechst Georgia Institute of Technology, Travis S. Humble Oak Ridge National Laboratory, Jeffrey Young Georgia Institute of Technology, Thomas Conte Georgia Institute of Technology | ||
11:40 20mTalk | Qubit Movement-Optimized Program Generation on Zoned Neutral Atom Processors Main Conference Enhyeok Jang Yonsei University, Youngmin Kim Yonsei University, Hyungseok Kim Yonsei University, Seungwoo Choi Yonsei University, Yipeng Huang Rutgers University, Won Woo Ro Yonsei University | ||
12:00 20mTalk | Honey Potion: an eBPF Backend for Elixir Main Conference Kael Soares Augusto UFMG, Vinícius Pacheco Cadence, Marcos A. M. Vieira Universidade Federal de Minas Gerais, Rodrigo G. Ribeiro Federal University of Ouro Preto, Fernando Magno Quintão Pereira Federal University of Minas Gerais |