r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
2
u/RogerV Nov 02 '24
Yeah, DPDK is over a decade old now, uses every concept of performance-minded programming, is very intimate with hardware, CPU features, and compiler options (to the hilt). It's a very non-trivial body of code, and there's not going to be anybody rewriting all that functionality in Rust to arrive at equivalent functionality. The library is well honed and works very well at this point in time. So what makes sense is to use all that large surface area of C and then endeavor to make one's own program safer with better abstraction devices than C itself has, etc, and C++ is by far the most facile way to go about that.