[Dlang]Comparing compilation time of random code in C++, D, Go, Pascal and Rust

1 · 王爱国 · Jan. 17, 2018, 10:20 a.m.
原文:https://imgur.com/a/jQUav#xVgi2ZA Optimizing C++ takes time! (The other lines are all at the bottom) Compilers (all on Windows): VC++ 2013 x64 without (/Od) and with optimizations (/O2) Go 1.7.1 amd64 without (-gcflags -N -l) and with optimizations (no flags) Rust 1.12.0 MSVCx64 without (-C opt-level=0) and with optimizations (-C opt-level=2) DMD32 D 2.071.2 x64 without (no flags) and with optimizations (-O) Free Pascal 3.0.0 i386 without (-O-) and with optimizations (-O2) The source codes...