4 ms·
> Why would you write networking code in C in 2016, when there are better alternatives available (like this one)? Support for kernel bypass networking librarie
by lightcatcher 10y ago
> Why would you write networking code in C in 2016, when there are better alternatives available (like this one)?
Support for kernel bypass networking libraries like ibverbs, DPDK (has an old unmaintained Rust wrapper) and other IO kernel bypass libraries such as SPDK and IOAT.
If Rust supported these libraries, I'd much prefer the future based Rust code to a massive event loop in C.
- bluejekyll 10y agoIt's all open-source, this is an area that if it matters this much to you, you could help support. The Rust community is hugely welcoming to people coming on and helping.
- JoshTriplett 10y agoThe article mentioned that the authors would love to help make futures-based wrappers for C libraries. You might ask if they could help with wrappers for ibverbs, DPDK, SPDK, and IOAT.
- benlwalker 10y agoI'm one of the authors of SPDK (which includes an NVMe driver and an IOAT driver). If the community wants to add rust bindings to those two components I'd be very supportive.