by tbodt on 1/31/21, 7:18 AM with 32 comments
by kevmo314 on 1/31/21, 7:55 AM
This seems like a rather important point that's glossed over. Typical code is not often as optimized and meticulously written. It would be nice to see how much compilers have improved there.
by chalst on 1/31/21, 1:19 PM
The choice of WSL2 as platform introduces a few confounders, especially filesystem performance, which might distort the differences between build times in particular. If someone wants to get a better understanding of what's going on, maybe a breakdown of where the time is spent or performing the benchmarks on other platforms would be a good idea.
by einpoklum on 1/31/21, 11:35 AM
by uep on 1/31/21, 1:52 PM
Clang 10 was able to automatically vectorize the code, so it performs >2x as fast as GCC 8.3. To be fair to GCC, I'm using my distro's GCC, but I built a newer Clang for C++ coroutine support.
by vendiddy on 1/31/21, 3:07 PM
As an extreme example, I imagine dynamic languages are hard to optimize because the compiler can make few assumptions about the code.
(Have little knowledge of compilers so correct me if I'm wrong.)
by FartyMcFarter on 1/31/21, 1:17 PM
Perhaps someone could compare FORTRAN compilers to get a longer term view.
by KirillPanov on 1/31/21, 11:49 AM
DJB is Daniel J. Bernstein
by person_of_color on 1/31/21, 1:45 PM
by person_of_color on 1/31/21, 12:40 PM