Found on proggit: simple treap language benchmark, includes D

Nerve nervecenter7 at gmail.com
Mon May 21 14:11:30 UTC 2018


On Sunday, 20 May 2018 at 15:30:37 UTC, Nerve wrote:
> I'll see if I can get it included so they can test it on their 
> specific setup.

Sorry for double-posting, but I've included a GC-enabled solution 
based on their Java solution, and have a pull request up that's a 
bit more idiomatic, pulling unnecessary static methods out as 
functions.

It scores VERY HIGH across the board on their "naive" benchmark. 
High expressivity, high maintainability, extremely fast, 
moderately low memory usage.

This is the sort of thing that will convince people of D. 
Benchmarks involving GC and lots of allocations that still have 
it way ahead of the competition, with clean code! For any other 
language, this is front-page, first-glance material.


More information about the Digitalmars-d mailing list