D WebAssembly working differently than C++, Zig

Allen Garvey allen.garvey at gmail.com
Mon May 16 18:17:03 UTC 2022


On Monday, 16 May 2022 at 18:14:13 UTC, kinke wrote:
> The problem is the memset signature. You assume the length is 
> the number of floats, while it's the number of *bytes* to be 
> set to the specified value. 
> https://en.cppreference.com/w/c/string/byte/memset

Thanks so much, that fixed the problem! You have no idea have 
long I have spent trying to debug this!


More information about the Digitalmars-d-learn mailing list