On per-function basis Rust code is about the same size as C , but there’s a problem of “generics bloat”. Generic functions get optimized versions for each type they’re used with, so it’s possible to end up with 8 versions of the same function.
Is Rust similar to C?
On per-function basis Rust code is about the same size as C , but there’s a problem of “generics bloat”. Generic functions get optimized versions for each type they’re used with, so it’s possible to end up with 8 versions of the same function.