D compiles fast, right? Right??

Stefan Koch uplink.coder at googlemail.com
Wed Apr 4 19:25:43 UTC 2018


On Wednesday, 4 April 2018 at 01:08:48 UTC, Andrei Alexandrescu 
wrote:
> [ ... ]
>
> Exactly, which is why I'm insisting this - and not compiler 
> benchmarking, let alone idle chattaroo in the forums - is where 
> we need to hit. What we have here, ladies and gentlemen, is a 
> high-impact preapproved item of great general interest. Shall 
> we start the auction?

I have analyzed the problem;
And in this case it points to _std.uni_ as the main time-taker.

I have also created and uploaded a video where I show how to do 
this kind of profiling.
It got a bit carried away at the beginning so you can skip to 
10:45 :)
https://www.youtube.com/watch?v=28bOtu64CCM

For those are not up to watching me talk slowly:
Phobos is in dire need of having dependencies broken.

And having dedicated compile-time profiling tools is pretty 
useful.
Even if they are very rudimentary it's better then semi-randomly 
commenting out code.

--
Stefan



More information about the Digitalmars-d mailing list