[HN Gopher] eBPF Summit Day 1 Recap ___________________________________________________________________ eBPF Summit Day 1 Recap Author : genbit Score : 59 points Date : 2020-10-29 19:27 UTC (3 hours ago) (HTM) web link (cilium.io) (TXT) w3m dump (cilium.io) | ArtWomb wrote: | This caught my eye: Lou Xun (CCP Games) - Traffic Control the | Rabbit with Rust using RedBPF. An xdp context transparently | available to rust ;) | | https://github.com/aquarhead/protect-the-rabbit | | https://github.com/redsift/redbpf | ShaniceWilliams wrote: | interesting! | danobi wrote: | A possibly lighter weight alternative is libbpf-rs [0]. libbpf- | rs is designed to take advantage of BPF's Compile-Once-Run- | Everywhere functionality where you can ship a pre-compiled | object file to production instead of an entire compiler | toolchain. | | Disclaimer: I wrote libbpf-rs. | | [0]: https://github.com/libbpf/libbpf-rs | tptacek wrote: | Redbpf is a very cool project. But note that the Rust you get | to work with is extremely limited: you don't get loops or | native function calls (redbpf inlines them in the LLVM IR), and | so essentially no library support. There are some BPF programs | you can express in C (anything that relies on a bounded loop, | for instance to walk a packet a byte at a time) that I don't | think you can in redbpf right now. | | (Bounded loops are really fussy anyways and you probably won't | use them in most programs, so writing in a single language | rather than Rust and C might easily be enough of a win). | ithkuil wrote: | I really love this concise yet informative summary! ___________________________________________________________________ (page generated 2020-10-29 23:00 UTC)