D WebAssembly working differently than C++, Zig

kinke noone at nowhere.com
Mon May 16 18:14:13 UTC 2022


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


More information about the Digitalmars-d-learn mailing list