
Liz Rice on Programming the Linux Kernel with eBPF, Cilium and Service Meshes
The InfoQ Podcast
00:00
How to Write Programs for eBPF
If you want to write programs for eBPF, obviously the underlying format is bytecode. But how do you actually write it? Do you write it as bytecode, or do you write it in some higher level language and then compile it across? There are people who do write bytecode directly; I'm not one of them. So you have to have compiler support to compile to the BPF bytecode. And today that's available in Clang, if you want to writing code in C. You can also compile rust code to BPF targets. Those are your limited choices for writing the code that's going to run within the kernel itself.
Transcript
Play full episode