Language performance benchmark be updated 2019/11/09
IGotD-
nise at nise.com
Sun Nov 17 12:11:16 UTC 2019
On Saturday, 16 November 2019 at 16:45:02 UTC, Jacob Shtokolov
wrote:
> On Saturday, 16 November 2019 at 16:34:58 UTC, Jacob Shtokolov
> wrote:
>> Just tried to compile and run Base64
>
> The Havlak test is closer to reality:
>
> ```
> Nim: 12.24s, 477.8Mb
> C++: 17.33s, 179.3Mb
> Golang: 21.58s, 358.0Mb
> D LDC2: 23.55s, 460.4Mb
> D DMD: 29.04s, 461.9Mb
> ```
>
> Nim is the winner.
>
> But here I would look into the code: what makes LDC produce
> such poorly optimized binary.
C++ memory consumption is way lower than the rest. Is this
because of the tracing GC penalty? It would have been interesting
to see Rust here as it doesn't use GC and if it would get close
to the C++ memory consumption.
More information about the Digitalmars-d
mailing list