News for hackers. Stuff that matters.
Re:PythonBPF – Writing eBPF Programs in Pure Python by varunrmallya on Monday September 15, 2025 @10:54AM (#45250437)
I'm the co-author.The code is in a very very bad state right now, but the architecture is pretty ok to explain. In step 3, we translate from the Python frontend to the LLVM IR. In step 4 we compile it down to an object file using the LLVM backend `llc`. This object file gets loaded into the kernel and it is what actually contains the eBPF bytecode.
Re:PythonBPF – Writing eBPF Programs in Pure Python by indigo945 on Monday September 15, 2025 @11:07AM (#45250577)
You may want to edit the blog post, then, because that's not what it says.