>>1014962 (cont.)
| Simple | compile time | compile max RSS |
|---------------------------------------------------+--------------+-----------------|
| dmd simple.d | 170.685 ms | 25460 kB |
| dmd -O -release simple.d | 178.653 ms | 25480 kB |
| dmd -O -release -inline -boundscheck=off simple.d | 169.206 ms | 25488 kB |
|---------------------------------------------------+--------------+-----------------|
| gnat make -gnat2020 simple | 88.950 ms | 32944 kB |
| gnat make -O3 -gnat2020 simple | 84.3006 ms | 30128 kB |
| gnat make -O3 -gnatp -gnat2020 simple | 83.130 ms | 30164 kB |
so for this super trivial example, just use Ada with -O3 for your normal builds which will be twice as fast (to build) and slightly faaster (to run) vs. a non-release D build, and then pull out all the stops with a -gnatp (no checking) build for speed, which also beats D's reckless-flags runtime.
<but what about Rust
1. I don't want to install that shit
2. it would be rude to mention it in context with compile times