D perfomance

Jon Degenhardt jond at noreply.com
Fri Apr 24 17:59:08 UTC 2020


On Wednesday, 22 April 2020 at 14:00:10 UTC, serge wrote:
> D has sparked my interested therefore last week I have started 
> to look into the language and have completed D course on 
> pluralsight. One of area where I would like to apply D in  web 
> application/cloud. Golang  is not bad but I think D seems more 
> powerful. Although during my research I have found interesting 
> facts:
>
> 1) fib test (https://github.com/drujensen/fib) with D  
> (compiled with ldc) showed really good performance results.
> 2) Various Web performance test on  
> https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=query show pretty poor performance of D using vibe.d and hunt framework/libraries.  Regardless of type of test - json, single query, multiple query and so on.
>
> My understanding that D is the language in similar ballpark 
> performance league as C, C++, Rust. Hence the question - why 
> web performance of those 2 web frameworks is so poor compared 
> to rivals? I would say few times worse. This is not a troll 
> post by any means. I am researching if D and D web framework 
> whether it can be used as  replacement python/django/flask 
> within our company. Although if D web framework show worse 
> performance than Go then probably it is not right tool for the 
> job.
> Any comments and feedback would be appreciated.

I gave a talk at DConf 2018 you may be interested in. The talk 
goes over a set of benchmark studies I did. The video was lost, 
but the slides are here: 
https://github.com/eBay/tsv-utils/blob/master/docs/dconf2018.pdf.

The slides are probably the easiest way to get an overview. The 
full details on the benchmark studies on the tsv-utils repo: 
https://github.com/eBay/tsv-utils/blob/master/docs/Performance.md

--Jon


More information about the Digitalmars-d mailing list