3 ms·
Somewhat tangentially related, if anyone is interested in writing eBPF programs in Rust, check out aya-rs (https://aya-rs.dev/ https://aya-rs.dev/). Rustc supp
by manaskarekar 3y ago
Somewhat tangentially related, if anyone is interested in writing eBPF programs in Rust, check out aya-rs (https://aya-rs.dev/ https://aya-rs.dev/).
Rustc supports eBPF bytecode as a target, and aya-rs avoids using clang/llvm. So you can use rust to write eBPF code in both user and kernel space.
This is a different beast from the usual rust though - lots of `unsafe`s.