D for scientific computing

Walter Bright newshound2 at digitalmars.com
Thu Jan 24 15:18:01 PST 2013


On 1/24/2013 1:13 PM, H. S. Teoh wrote:
> On Thu, Jan 24, 2013 at 12:15:07PM -0800, Walter Bright wrote:
>> On 1/24/2013 8:36 AM, H. S. Teoh wrote:
>>> Nevertheless, I also have made the same observation that code
>>> produced by gdc consistently outperforms code produced by dmd.
>>> Usually by about 20-30%, sometimes as much as 50-60%, IME. That's a
>>> pretty big discrepancy for me, esp. when I'm doing compute-intensive
>>> geometric computations.
>>
>> Do you mean floating point code? 32 or 64 bit?
>
> Floating-point, 64-bit, tested on dmd -O vs. gdc -O3.

Next, are you using floats, doubles, or reals?



More information about the Digitalmars-d mailing list