Re: D Profile Viewer

2016-03-25 Thread Jack Stouffer via Digitalmars-d-announce

On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote:

Hi

I wrote a program to turn the non-human-readable trace.log into 
an interactive HTML file that can be used to help profile a D 
program.


Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer

There's also a readme that (hopefully) explains how to use it.

Please let me know if you find any bugs.

Andrew.


Awesome work.

If I could make one suggestion, this should be added to dub as an 
executable, so I can do


dub fetch d-profile-viewer
dub run d-profile-viewer


Re: [Blog post] Why and when you should use SoA

2016-03-25 Thread ZombineDev via Digitalmars-d-announce

On Friday, 25 March 2016 at 21:22:51 UTC, ZombineDev wrote:

On Friday, 25 March 2016 at 01:07:16 UTC, maik klein wrote:

Link to the blog post: https://maikklein.github.io/post/soa-d/
Link to the reddit discussion: 
https://www.reddit.com/r/programming/comments/4buivf/why_and_when_you_should_use_soa/


Nice article. BTW, I would abstract the container concept from 
the SOA implementation, in order to allow for pluggable 
containers which probably simplify the code a little bit.


Another note - you can further simplify the implementation by 
using Fields!T and .tupleof. For example:


void insertBack(Fields!T fields)
// 

void insertBack(T t)
{
if(length == size) grow;

foreach(idx, field; t.tupleof)
containers[idx][length] = field;

length++;
}


Re: [Blog post] Why and when you should use SoA

2016-03-25 Thread ZombineDev via Digitalmars-d-announce

On Friday, 25 March 2016 at 01:07:16 UTC, maik klein wrote:

Link to the blog post: https://maikklein.github.io/post/soa-d/
Link to the reddit discussion: 
https://www.reddit.com/r/programming/comments/4buivf/why_and_when_you_should_use_soa/


Nice article. BTW, I would abstract the container concept from 
the SOA implementation, in order to allow for pluggable 
containers which probably simplify the code a little bit.


Re: Beta D 2.071.0-b1

2016-03-25 Thread Martin Nowak via Digitalmars-d-announce

On Friday, 25 March 2016 at 09:18:31 UTC, ag0aep6g wrote:

On 25.03.2016 10:06, Martin Nowak wrote:
But it's not in the changelog.


Well, the commit message doesn't say that the issue was fixed, 
hence it's not in the bugfix list, also see the dlang-bot comment 
https://github.com/D-Programming-Language/dmd/pull/5470#issuecomment-186661863.
I'd suggest you manually add a small compiler changes entry here 
https://github.com/D-Programming-Language/dmd/blob/stable/changelog.dd, make sure to use the stable branch.


$(LI Foreach loops..., also see $(Bugzilla 12345).)

No need for a more detailed section.


Re: D Profile Viewer

2016-03-25 Thread Steven Schveighoffer via Digitalmars-d-announce

On 3/24/16 4:34 PM, Andrew wrote:

Hi

I wrote a program to turn the non-human-readable trace.log into an
interactive HTML file that can be used to help profile a D program.

Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer

There's also a readme that (hopefully) explains how to use it.

Please let me know if you find any bugs.

Andrew.


Hey Andrew, I remember you showing this at the D meetup last year. Very 
cool, glad you could get it open-sourced!


-Steve



Re: D Profile Viewer

2016-03-25 Thread jmh530 via Digitalmars-d-announce

On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote:
I wrote a program to turn the non-human-readable trace.log into 
an interactive HTML file that can be used to help profile a D 
program.



Cool.


Re: Beta D 2.071.0-b1

2016-03-25 Thread ag0aep6g via Digitalmars-d-announce

On 25.03.2016 10:06, Martin Nowak wrote:

On Thursday, 24 March 2016 at 14:36:57 UTC, Guillaume Chatelet wrote:

Shouldn't this be part of the release ?
https://issues.dlang.org/show_bug.cgi?id=15581


It's in the beta, see the list of branches/tags
https://github.com/D-Programming-Language/dmd/commit/3002a9683619957ce0d3f1379f99970f1664d087.


But it's not in the changelog.


Re: Beta D 2.071.0-b1

2016-03-25 Thread Martin Nowak via Digitalmars-d-announce
On 03/24/2016 06:06 PM, John Colvin wrote:
> 
> As usual, `brew update && brew reinstall dmd --devel` :)

Or `curl -fsS https://dlang.org/install.sh | bash -s dmd-beta`.


Re: Beta D 2.071.0-b1

2016-03-25 Thread Martin Nowak via Digitalmars-d-announce

On Thursday, 24 March 2016 at 17:20:58 UTC, Joakim wrote:
Looking forward to getting rid of the remaining top-level 
non-selective imports in phobos.


Let's not rush this before the deprecation of the import changes 
is over (2 or 3 releases from now), people might still use the 
old behavior w/ -transition=import.




Re: Beta D 2.071.0-b1

2016-03-25 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 24 March 2016 at 14:36:57 UTC, Guillaume Chatelet 
wrote:

Shouldn't this be part of the release ?
https://issues.dlang.org/show_bug.cgi?id=15581


It's in the beta, see the list of branches/tags 
https://github.com/D-Programming-Language/dmd/commit/3002a9683619957ce0d3f1379f99970f1664d087.


Re: D Profile Viewer

2016-03-25 Thread ANtlord via Digitalmars-d-announce

On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote:

Hi

I wrote a program to turn the non-human-readable trace.log into 
an interactive HTML file that can be used to help profile a D 
program.


Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer

There's also a readme that (hopefully) explains how to use it.

Please let me know if you find any bugs.

Andrew.


It is really cool. You rock!


Re: Silicon Valley D Meetup March 24, 2016

2016-03-25 Thread Ali Çehreli via Digitalmars-d-announce

On 03/17/2016 12:17 PM, Darkfeign wrote:

> at least the slides are available.

A big thanks to Stefan! It was a great presentation. We think the 
recording is public but we are not exactly sure how it will pop up on 
YouTube.


However, the slide deck and the code that go with it should really be 
sufficient for this presentation. There was very little discussion 
outside of the slides:



https://docs.google.com/presentation/d/1y0l4buv8eT6wuTbLq2kt82hzdGwRMdNboNYD8i9XAdM/edit#slide=id.p

  https://github.com/stefan-brus/dmeetuptalk

Ali