dstats reborn
David Simcha's stats library is full of useful code and it was a shame to let it rot. I've patched it up to work with modern D compilers and added dub support. https://github.com/John-Colvin/dstats http://code.dlang.org/packages/dstats I have also made a pull request to David's repository to integrate these changes. If they are merged there then I'll redirect the dub respository and add a link in the readme on my github fork.
Re: DConf 2014 Day 3 Talk 2: Real-Time Big Data in D by Don Clugston
I wish I'd asked for the mic before I made the (inaudible) comment about signedness, so here it is: Subtracting unsigneds is almost always a bug. The problem (realised by the C++ community) is that length should be signed. Atila On Wednesday, 16 July 2014 at 16:51:19 UTC, Andrei Alexandrescu wrote: Shared, discuss, vote up!!! https://twitter.com/D_Programming/status/489451723761922048 https://www.facebook.com/dlang.org/posts/885933488087000 http://www.reddit.com/r/programming/comments/2avdod/dconf_2014_realtime_big_data_in_d_by_don_clugston/ Andrei
DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
http://www.reddit.com/r/programming/comments/2ayt42/dconf_2014_adam_d_ruppes_amazing_slideless_talk/ https://www.facebook.com/dlang.org/posts/886573308023018 https://twitter.com/D_Programming/status/489811286897983489 Andrei
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
BTW here's the post Andrei made on the day of with the little notebook paper I used for a topic list and some discussion we had in May: http://forum.dlang.org/thread/llo7i8$e4e$1...@digitalmars.com
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
Also, my book is out now, it was published the Monday after the talk! Here's the link: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On Thursday, 17 July 2014 at 16:39:28 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/2ayt42/dconf_2014_adam_d_ruppes_amazing_slideless_talk/ https://www.facebook.com/dlang.org/posts/886573308023018 https://twitter.com/D_Programming/status/489811286897983489 Andrei http://youtu.be/qErXPomAWYI
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On 7/17/14, 10:43 AM, Adam D. Ruppe wrote: Also, my book is out now, it was published the Monday after the talk! Here's the link: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book Put that on reddit. -- Andrei
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On Thursday, 17 July 2014 at 18:37:54 UTC, Andrei Alexandrescu wrote: Put that on reddit. -- Andrei I've tried a few times and it doesn't work.. the post appears to me, but is invisible to everyone else. I think reddit's silent spam filter dislikes the link. I can tell them to search the web for it though.
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On Thursday, 17 July 2014 at 18:42:38 UTC, Adam D. Ruppe wrote: On Thursday, 17 July 2014 at 18:37:54 UTC, Andrei Alexandrescu wrote: Put that on reddit. -- Andrei I've tried a few times and it doesn't work.. the post appears to me, but is invisible to everyone else. I think reddit's silent spam filter dislikes the link. I can tell them to search the web for it though. You may have been shadow banned. You should contact some reddit admins.
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On Thursday, 17 July 2014 at 18:48:11 UTC, deadalnix wrote: You may have been shadow banned. You should contact some reddit admins. It doesn't seem to be my account itself, just that link. Someone else says they tried posting it too but I can't see it, I think reddit just doesn't like the link.
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On 7/17/2014 12:29 PM, Adam D. Ruppe wrote: On Thursday, 17 July 2014 at 18:48:11 UTC, deadalnix wrote: You may have been shadow banned. You should contact some reddit admins. It doesn't seem to be my account itself, just that link. Someone else says they tried posting it too but I can't see it, I think reddit just doesn't like the link. I've also noticed that links to amazon are robo-deleted.
Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright
On Tuesday, 15 July 2014 at 19:00:35 UTC, Walter Bright wrote: On 7/15/2014 11:28 AM, John wrote: At the end of this video, it sounds like it ends abruptly.. While answering a question, Walter says.. 'it turns out..' and the video ends there. That's when my time ran out and I vanished in a puff of greasy black smoke. :D
Re: dstats reborn
On Thursday, 17 July 2014 at 15:20:20 UTC, John Colvin wrote: David Simcha's stats library is full of useful code and it was a shame to let it rot. I've patched it up to work with modern D compilers and added dub support. https://github.com/John-Colvin/dstats http://code.dlang.org/packages/dstats I have also made a pull request to David's repository to integrate these changes. If they are merged there then I'll redirect the dub respository and add a link in the readme on my github fork. Great! dstats is useful for A/B performance measurements, with its various statistical tests.
Re: DSnips - making D coding awesome in Vim (with GIFs!)
On Thu, 17 Jul 2014 20:57:10 +, Kiith-Sa wrote: I want to eventually try to merge this back to the default repository, but I'd like some comments/criticism/ideas first. Should any snippets be removed? Added? Any problems with the current snippets? (the wrap in try/catch in the previous version had issues with wrapping indented text, for example) I'll try it out. Of course, I'm really bad at using the current D snippets (aside from `main`--use that one all the time). Those opBinary and friends snippets look quite useful.
Re: DSnips - making D coding awesome in Vim (with GIFs!)
On Thursday, 17 July 2014 at 20:57:10 UTC, Kiith-Sa wrote: DSnips is a set of UltiSnips snippets for D (now with GIFs showing each snippet in action (image-heavy)) https://github.com/kiith-sa/DSnips This is an attempt to overhaul the D snippets I got merged to UltiSnips (now a separate vim-snippets repository), as the previous snippets had quite a few bugs. The snippets should now be easy to use together/chain (e.g. an imp (import) snippet places the cursor on the beginning of the next line so imp can be used for another import, wrap in try/catch places the cursor to be ready to add more catch blocks, module license can be replaced by using another snippet inside it, etc. There are some rather intelligent snippets, e.g. an operator builder for opBinary/opUnary/opOpAssign that will generate the skeleton for all operators typed in by the user, automatic DDoc Params: generation from function parameters, etc. I want to eventually try to merge this back to the default repository, but I'd like some comments/criticism/ideas first. Should any snippets be removed? Added? Any problems with the current snippets? (the wrap in try/catch in the previous version had issues with wrapping indented text, for example) Trying this out now. It's very good so far, nice work! /uri
Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright
On 7/16/2014 5:15 AM, Jaroslav Hron wrote: On Tuesday, 15 July 2014 at 16:20:34 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/ https://www.facebook.com/dlang.org/posts/885322668148082 https://twitter.com/D_Programming/status/489081312297635840 Andrei Is the presentation itself available somewhere? https://archive.org/details/dconf2014-day03-talk01
Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright
On 7/16/2014 7:21 AM, dennis luehring wrote: can you give an short (working) example code to show the different resulting assembler for your for-rewrite example - and what compilers your using for testing - only dmd or gdc? I used dmd.
Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright
Am 18.07.2014 04:52, schrieb Walter Bright: On 7/16/2014 7:21 AM, dennis luehring wrote: can you give an short (working) example code to show the different resulting assembler for your for-rewrite example - and what compilers your using for testing - only dmd or gdc? I used dmd. i sometimes got the feeling that you underestimate the sheer power of todays clang or gcc optimizers - so partly what gdc/ldc can do with your code reminds me of brian schotts exmaple of his sse2 optimized version of his lexer - the dmd generated was much faster then the normal version, but gdc/ldc results of the unoptimized versions are still 50% faster i understand your focus on dmd - but talking about fast code and optimizing WITHOUT even trying to compare with other compiler results is just a little bit strange for someone who stated speed = money
Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright
On 7/17/2014 9:40 PM, dennis luehring wrote: i understand your focus on dmd - but talking about fast code and optimizing WITHOUT even trying to compare with other compiler results is just a little bit strange for someone who stated speed = money The point was to get people to look at the asm output of the compiler, as results can be surprising (as you've also discovered).