Another WebAssembly example: Meta tic-tac-toe

Dennis dkorpel at gmail.com
Wed Aug 22 16:10:15 UTC 2018


On Wednesday, 22 August 2018 at 15:09:36 UTC, Allen Garvey wrote:
> Were you using Chrome for Mac by any chance? In my testing with 
> the dithering example Chrome specifically on Mac had by far the 
> slowest WebAssembly implementation.

I'm using Chrome 68 and FireFox 61 on Windows 10, on Debian I 
have FireFox ESR 52 which doesn't have WebAssembly support. I 
just tried Microsoft Edge 42 and it seems to be the same as 
FireFox.

On Wednesday, 22 August 2018 at 15:09:36 UTC, Allen Garvey wrote:
> The problem is that most web servers now don't currently serve 
> the correct mime type out of the box (such as npm httpserver or 
> Python simplehttpserver) so I had to use a custom node server 
> (https://github.com/allen-garvey/wasm-dither-example/commit/5cd5baf84b681074de4ee7af4c224103e17a3827 https://gist.github.com/aolde/8104861) so I could set the mime type manually before I switched to instantiate since it has wider browser support.

Thanks for the info.


More information about the digitalmars-d-ldc mailing list