5 ms·
This is very cool. I’ve been working on using Rust to manage an XDP based network driver that is much, much, much faster than the socket API in C, and slightly
by ilovecaching 8y ago
This is very cool. I’ve been working on using Rust to manage an XDP based network driver that is much, much, much faster than the socket API in C, and slightly faster than DPDK. There’s no driver in the traditional sense, Rust works as a control plane and eBPF injector, while the XDP programs communicate back to Rust through eBPF maps.
I’m extremely bullish on Rust, it’s such a breath of fresh air to be able to write maintainable, modern code to do low level tasks. I was a C/C++ dev for a little under a decade before switching to Rust and it really delivers on its promises.
Also Rust using llvm is a huge boon to writing eBPF programs.
- Klasiaster 8y agoThis sounds very interesting, do you have some code (parts) to share?
- jvtbatman 8y agoI'm also very interested in any more information regarding this since I'll be doing my thesis work on XDP soon and would like to use Rust!