3 ms·
My guess is that these languages (C++, Rust) allow for far more optimizations as it is quite discouraged to reinvent the wheel. Which is a unfortunately a thin
by dvhh 7y ago
My guess is that these languages (C++, Rust) allow for far more optimizations as it is quite discouraged to reinvent the wheel.
Which is a unfortunately a thing in C
- bryal 7y agoOne factor is how simple it is to use an efficient data-structure in Rust vs C due to good polymorphism and easy dependency management. In C, importing and using an efficient data structure can be a chore, and so many implementations use suboptimal but more C-friendly structures instead.