Re: Old bugs

2016-10-15 Thread Walter Bright via Digitalmars-d
On 10/14/2016 4:19 AM, Vladimir Panteleev wrote: On Friday, 14 October 2016 at 11:12:34 UTC, Andrei Alexandrescu wrote: On 10/14/2016 01:40 AM, Vladimir Panteleev wrote: On Friday, 14 October 2016 at 00:38:48 UTC, Andrei Alexandrescu wrote: The bug is in the DigitalMars C runtime. Great. Vladi

Re: Old bugs

2016-10-15 Thread Walter Bright via Digitalmars-d
On 10/14/2016 6:41 AM, jmh530 wrote: On Friday, 14 October 2016 at 08:21:00 UTC, Walter Bright wrote: On 10/13/2016 10:40 PM, Vladimir Panteleev wrote: https://issues.dlang.org/show_bug.cgi?id=2742#c14 When I start a command prompt in Windows, I run the command: chcp 65001 which sets it

Re: Reducing the cost of autodecoding

2016-10-15 Thread safety0ff via Digitalmars-d
On Friday, 14 October 2016 at 20:47:39 UTC, Stefan Koch wrote: On Thursday, 13 October 2016 at 21:49:22 UTC, safety0ff wrote: Bad benchmark! Bad! -- Andrei Also, I suspect a benchmark with a larger loop body might not benefit as significantly from branch hints as this one. I disagree in lon

Re: Reducing the cost of autodecoding

2016-10-15 Thread Stefan Koch via Digitalmars-d
On Friday, 14 October 2016 at 20:47:39 UTC, Stefan Koch wrote: On Thursday, 13 October 2016 at 21:49:22 UTC, safety0ff wrote: Bad benchmark! Bad! -- Andrei Also, I suspect a benchmark with a larger loop body might not benefit as significantly from branch hints as this one. I disagree in lon

Re: [Semi OT] - "Garbage In, Garbage Out: Arguing about Undefined Behavior..."

2016-10-15 Thread deadalnix via Digitalmars-d
On Thursday, 13 October 2016 at 15:19:17 UTC, Guillaume Chatelet wrote: Pretty cool talk by Chandler Carruth on undefined behavior. It reminds me of a bunch of conversations than happened on this mailing list. I bet Walter will like it :) https://www.youtube.com/watch?v=yG1OZ69H_-o I was not

Meta issue:

2016-10-15 Thread Andrei Alexandrescu via Digitalmars-d
So I just added https://issues.dlang.org/show_bug.cgi?id=16614, which is a meta documentation issue for bootcamp. I'd appreciate it if any of you folks kept in mind to add separate issues (and make this one depend on them) whenever you see bad or nonexistent documentation examples. Thanks,

Re: Idea for a new tool

2016-10-15 Thread Andrei Alexandrescu via Digitalmars-d
On 10/14/2016 12:26 PM, Dicebot wrote: On 10/14/2016 06:01 PM, Chris Wright wrote: On Fri, 14 Oct 2016 09:13:16 -0400, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei For the love of potatoes, please take a few seconds to tell us the gist of it here. The r

Re: Help test Google flatbuffers

2016-10-15 Thread timotheecour via Digitalmars-d
On Sunday, 15 May 2016 at 14:08:57 UTC, Joseph Rushton Wakeling wrote: (2) It's probably more idiomatic to use `void[]` for buffers of binary data, although I imagine you may have some reasons for using `ubyte[]` ... ? curious about this. https://dlang.org/phobos/std_outbuffer.html defines:

Re: Old bugs

2016-10-15 Thread Brad Roberts via Digitalmars-d
On 10/14/16 4:18 AM, Andrei Alexandrescu via Digitalmars-d wrote: On 10/14/2016 07:17 AM, Andrei Alexandrescu wrote: On 10/14/2016 05:12 AM, Mathias Lang via Digitalmars-d wrote: I've been doing a bit of triaging when I got time, trying to get rid of old bugs / duplicated. It's usually easy to

Re: Reducing the cost of autodecoding

2016-10-15 Thread Stefan Koch via Digitalmars-d
On Thursday, 13 October 2016 at 21:49:22 UTC, safety0ff wrote: Bad benchmark! Bad! -- Andrei Also, I suspect a benchmark with a larger loop body might not benefit as significantly from branch hints as this one. I disagree in longer loops code compactness is as important as in small ones.

Re: Idea for a new tool

2016-10-15 Thread Stefan Koch via Digitalmars-d
On Friday, 14 October 2016 at 18:02:24 UTC, Andrei Alexandrescu wrote: On 10/14/16 12:38 PM, Stefan Koch wrote: On Friday, 14 October 2016 at 13:13:16 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei I have been working on this. What this amounts to is a

Re: Idea for a new tool

2016-10-15 Thread Andrei Alexandrescu via Digitalmars-d
On 10/14/16 12:38 PM, Stefan Koch wrote: On Friday, 14 October 2016 at 13:13:16 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei I have been working on this. What this amounts to is an AST-writeout using the HdrGen. This will affect the code in so far as