Operator overloading -- lets collect some use cases

Bill Baxter wbaxter at gmail.com
Sun Dec 28 23:31:42 PST 2008


On Mon, Dec 29, 2008 at 3:00 PM, Don <nospam at nospam.com> wrote:
> bearophile wrote:
>>
>> Jarrett Billingsley:
>>>
>>> His library works by having you write your code in a DSL in strings,
>>> which you pass to the library and then mix in the resulting X86.
>>
>> Have someone some benchmarks that show such Blade give some performance
>> improvements over code produced by DMD and LDC? This is the most important
>> thing, otherwise such things aren't useful.
>
> It's MUCH faster. Factor of 5 is typical.
> BTW, Blade is currently unusable because of the CTFE memory allocation bug.
> Also, now that array operations are in the language, it's much less
> necessary for the application I created it for.

A good opportunity to mention once again that LDC guys have figured
out some compile settings that seem to fix the problem.
http://d.puremagic.com/issues/show_bug.cgi?id=1382
>From what I can tell they've had it fixed in LDC since mid-November by
applying that change with no problems.  Christian K.,  can you confirm
that it's been working fine in LDC?

--bb



More information about the Digitalmars-d mailing list