BPF is a technology used in Linux for packet filtering, tracing or access auditing. BPF has its own VM and set of opcodes.
If you want to write a program that loads and uses BPF binary, you can write it in any language including Ruby.
However, to prepare a "BPF binary" itself, you generally need to write a bit weird C, and pass it to clang compiler using
Wouldn't it be great if we could make these BPF binaries entirely in Ruby?
Rucy is intended to allow programmers to write their whole BPF programs in Ruby. I'll discuss how to "compile" BPF binaries from Ruby in this talk.