Re:Rust is now overall faster than C in benchmarks
by RcouF1uZ4gsC on Sunday January 03, 2021 @09:28PM
(#25627384)
The other thing that C++ and Rust have for collections and algorithms is that they follow a standard pattern.
Because of that, it is usually pretty easy to substitute an optimized algorithm or a container for another one with minimal code changes. In C, because there is no standard for how to do containers and algorithms, it is likely that every library does something a little different in terms of conventions making it harder to swap in implementations.
Because of that, it is usually pretty easy to substitute an optimized algorithm or a container for another one with minimal code changes. In C, because there is no standard for how to do containers and algorithms, it is likely that every library does something a little different in terms of conventions making it harder to swap in implementations.