The details

Start...End time (UTC)
2021-09-09 06:00 - 06:25
Language
en
Description about the talk
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 `bpf` target. 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.