D for scientific computing

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Jan 24 13:13:36 PST 2013


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.


T

-- 
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the world. --
Anonymous


More information about the Digitalmars-d mailing list