D WebAssembly working differently than C++, Zig

Tejas notrealemail at gmail.com
Tue May 17 10:19:03 UTC 2022


On Tuesday, 17 May 2022 at 09:38:31 UTC, Sergey wrote:
> On Monday, 16 May 2022 at 17:32:20 UTC, Allen Garvey wrote:
>> I'm working on a comparison of WebAssembly performance for 
>> error propagation dithering using D, C++ and Zig. So far C++ 
>> and Zig work as expected, but for D, despite using the same 
>> algorithm and similar code the output is different.
>
> Hm D version is the slowest one?!

It's faster than the JS version atleast. But yeah, C++ and Zig 
being 30+% faster than the D solution doesn't look good on us :(


More information about the Digitalmars-d-learn mailing list