Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread Vladimir Panteleev via Digitalmars-d-announce
On Saturday, 17 November 2018 at 06:21:20 UTC, Manu wrote: What was the batch size for module grouping? I just use dmd -i, which compiles everything at once (except Phobos/Druntime).

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread welkam via Digitalmars-d-announce
I just updated DMD on my windows and tried to compile hello world. It took 7.4 sec. Something is not right. Can anyone reproduce? On the same mashine running linux it compiles and runs in 0.1 sec PS C:\Users\Welkam\Desktop\Projects> Measure-Command {dmd -run main.d} Days : 0 H

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread rikki cattermole via Digitalmars-d-announce
On 18/11/2018 1:29 AM, welkam wrote: I just updated DMD on my windows and tried to compile hello world. It took 7.4 sec. Something is not right. Can anyone reproduce? On the same mashine running linux it compiles and runs in 0.1 sec PS C:\Users\Welkam\Desktop\Projects> Measure-Command {dmd -ru

DIP 1016--ref T accepts r-values--Final Review Begins

2018-11-17 Thread Mike Parker via Digitalmars-d-announce
The last chance for community feedback on DIP 1016, "ref T accepts r-values", is now underway. Please do not leave any feedback in this thread, but rather in the review thread in the General forum: https://forum.dlang.org/post/uxfftudiadniozpui...@forum.dlang.org

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread welkam via Digitalmars-d-announce
On Saturday, 17 November 2018 at 12:36:30 UTC, rikki cattermole wrote: Just in case, did you disable your anti-virus first? Had to edit registry to turn that thing off and it still some times popup. Microsoft is so annoying. https://imgur.com/a/x3cKjZm

Ported js13k game underrun to D targeting webassembly

2018-11-17 Thread Sebastiaan Koppe via Digitalmars-d-announce
Underrun is small game build by Dominic Szablewski for the 2018 js13kGames competition. I decided to port it to D and to target webassembly. You can play the game here https://skoppe.github.io/spasm/examples/underrun/ It is part of my endeavour into the wonderful world of webassembly. I spec

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread Basile B. via Digitalmars-d-announce
On Tuesday, 6 November 2018 at 18:00:22 UTC, Vladimir Panteleev wrote: This is a tool + article I wrote in February, but never got around to finishing / publishing until today. https://blog.thecybershadow.net/2018/02/07/dmdprof/ Hopefully someone will find it useful. I put a start to the pro

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread Vladimir Panteleev via Digitalmars-d-announce
On Saturday, 17 November 2018 at 23:01:23 UTC, Basile B. wrote: I put a start to the project then today i remembered callgrind... What are the pros and cons in comparison with callgrind ? By coincidence i had to callgrind dmd today and got answers to a performance issue in a very straight forwa

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-17 Thread Basile B. via Digitalmars-d-announce
On Sunday, 18 November 2018 at 01:12:04 UTC, Vladimir Panteleev wrote: On Saturday, 17 November 2018 at 23:01:23 UTC, Basile B. wrote: I put a start to the project then today i remembered callgrind... What are the pros and cons in comparison with callgrind ? By coincidence i had to callgrind dm