Another WebAssembly example: Meta tic-tac-toe
Trass3r
un at known.com
Wed Aug 22 15:33:26 UTC 2018
On Wednesday, 22 August 2018 at 12:22:34 UTC, Dennis wrote:
> 1. I saw that my application was expecting 'env.memcpy' and
> 'env.memset' to be present, I presume this is because the
> compiler emits these calls for struct/array
> copying/initialization. I solved it by providing simple
> implementations in the D code, hopefully that didn't have too
> much impact on performance.
It does get vectorized, but it is a lot of code:
https://d.godbolt.org/z/zRgHuR
More information about the digitalmars-d-ldc
mailing list