3 ms·
> The C version was compiled with GCC 7.3.0 with -O2 level optimizations; the Rust version was compiled with 1.29.0 with --release. Isn't rust based on LLVM?
by UncleEntity 8y ago
> The C version was compiled with GCC 7.3.0 with -O2 level optimizations; the Rust version was compiled with 1.29.0 with --release.
Isn't rust based on LLVM?
It would make more sense, for a true apples to apples comparison, to use clang instead of GCC.
Not that I'm pro-C or anti-rust or anything but the beginning of the article goes on about previous tests not being fair.
- kiriakasis 8y agoIt also insist on how this data is unfair and only relevant to the system (comprehensive of OS, compilers, programmer skill/talent/interest/errors and so on) At the end the author never states that one is faster (yes, the title is misleading, but it is then clearly clarified in the text) the main part is the discussion about intrusive data structures.