CTFE Status 2

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 29 07:53:38 PDT 2017


On 6/29/17 4:24 AM, Stefan Koch wrote:
> On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
>> [ ... ]
> 
> I just "discovered" a bug in my debugging system.
> Which caused me to debug the wrong function for about 5 hours.
> Since I really could not see why the codegen would produce such vastly 
> different code.
> (Almost as if it were generating code for a different function :/ )
> 
> The takeaway: Better Debuggers only safe you time if they are actually 
> showing you correct information.
> 
> If your debugger is buggy then your are in a world of hurts.
> I had my share of pain for today.

The same is true for compilers that are buggy. Debugging code is 
horrible when the compiled code isn't doing what the source says. I've 
seen my share of that as well...

> The good thing is however, that the floating point stuff is going smooth 
> so far.
> The x87 can be persuaded to almost obey the ieee standard if you issue a 
> write after every operation.
> 
> The better option would be to just use sse2 all the way. But whatever.

I'm looking very much forward to newCTFE. Keep up the good work!

-Steve


More information about the Digitalmars-d mailing list