D WebAssembly working differently than C++, Zig

Adam D Ruppe destructionator at gmail.com
Tue May 17 11:51:48 UTC 2022


On Tuesday, 17 May 2022 at 11:43:45 UTC, Siarhei Siamashka wrote:
> Looks like you forgot to increment the pointer and need "*d++ = 
> cast(ubyte) c;" there.


hahaha yup.

> And filling the buffer one byte at a time is likely slow.

prolly but meh, that's where the intrinsics are nice.


More information about the Digitalmars-d-learn mailing list