News for hackers. Stuff that matters.
Re:GCC 8.2 Released by rurban on Thursday July 26, 2018 @11:35AM (#17618272)
There needs to be work done, because for my usecases icc is usually a few percentages faster and newer clang almost twice as fast, with proper constexpr support. It's only memset, memcpy though, so who cares.
Re:GCC 8.2 Released by rurban on Friday July 27, 2018 @07:00AM (#17625022)
To the downvoters: This is the benchmark where GCC looses big time to clang: https://github.com/rurban/safeclib/blob/master/tests/perf_me...

My clang compiled memcpy_s is faster than the handoptimized glibc assembler and twice as fast than the GCC version. So with a proper compiler you can get rid of handoptimized unportable optimizations easily. In this case memcpy, but also memset, memmove, memchr, ...