2 ms·
Creating a wrapper around an existing library will never be superior to a native rust library to me.
by Aeolun 7y ago
Creating a wrapper around an existing library will never be superior to a native rust library to me.
- carlmr 7y agoIt may be superior if there's ongoing maintenance and improvements on the original code. RiiR certainly has it's place though. Ripgrep for me as a user is vastly superior to grep and a large reason for that I see is in the safe optimizations allowed by the borrow checker. They're certainly possible in C, but it wouldn't be maintainable. Also I'd look at how stable the library is you're wrapping and the size of the code base. It may be lower effort to rewrite than to wrap.