Aya: writing BPF in Rust
Over the last year I've talked with many folks interested in using eBPF in the Rust community. My goal is to get as many of you involved in the project as possible! Now that the rustc target has been merged, it's time to build a solid foundation so that we can enable developers to write great eBPF enabled apps".
Posted Jun 15, 2021 17:03 UTC (Tue)
by danobi (subscriber, #102249)
[Link] (7 responses)
Posted Jun 15, 2021 18:50 UTC (Tue)
by tialaramex (subscriber, #21167)
[Link] (4 responses)
That can translate into more courage to try things you otherwise wouldn't dare, and then when inevitably something goes wrong into more chance of figuring out where the actual bug is.
Also people really like Rust. I actually found I quite enjoy taking a C program and writing an equivalent Rust program, much more so than when I was learning Go for example.
Posted Jun 15, 2021 20:11 UTC (Tue)
by danobi (subscriber, #102249)
[Link] (3 responses)
Yes, for sure. But I don't think it's a pure win. BPF has a huge surface area and libbpf handles lots of crazy features and edge cases. The tradeoff is that a re-implementation not only has to stay "within spec" (which there currently is none) but also keep up with new developments. And that has its own source of fun bugs.
> Also people really like Rust. I actually found I quite enjoy taking a C program and writing an equivalent Rust program, much more so than when I was learning Go for example.
I do as well :). Disclosure: I wrote most of libbpf-rs (the rust wrappers around libbpf): https://github.com/libbpf/libbpf-rs .
Posted Jun 17, 2021 5:36 UTC (Thu)
by xinitrc (subscriber, #126452)
[Link] (2 responses)
Posted Jun 17, 2021 8:50 UTC (Thu)
by farnz (subscriber, #17727)
[Link] (1 responses)
Apart from the ixy network driver, you mean?
Posted Jun 17, 2021 23:43 UTC (Thu)
by xinitrc (subscriber, #126452)
[Link]
Posted Jun 18, 2021 3:54 UTC (Fri)
by mkj (subscriber, #85885)
[Link] (1 responses)
Posted Jun 20, 2021 16:39 UTC (Sun)
by notriddle (subscriber, #130608)
[Link]
Aya: writing BPF in Rust
Aya: writing BPF in Rust
Aya: writing BPF in Rust
Aya: writing BPF in Rust
Aya: writing BPF in Rust
Aya: writing BPF in Rust
Hopefully it will be marked as production ready.
Aya: writing BPF in Rust
Aya: writing BPF in Rust