Live data from Hacker News

Asm.js Chess Battle

dev.windows.com

1–10 of 39 posts

Re: Asm.js Chess Battle

#4
post #3

Interestingly, asm.js has an advantage in Firefox and Chrome for me, but not in Safari.

Safari doesn't implement an asm.js backend, presumably?

Or, potentially, does an equally good job optimizing the code with or without the asm.js hint.

Re: Asm.js Chess Battle

#6
> Refresh page to play again

This was very infuriating. The server seemed to be under load and took several minutes to load. I was not going to wait for it load again to retry the simulation.

Re: Asm.js Chess Battle

#7

> Refresh page to play again This was very infuriating. The server seemed to be under load and took several minutes to load. I was not going to wait for it load again to retry the simulation.

Seriously. Came here to say this. How hard is it to add a button that says "play another".

Re: Asm.js Chess Battle

#8
post #3

Interestingly, asm.js has an advantage in Firefox and Chrome for me, but not in Safari.

Safari doesn't implement an asm.js backend, presumably?

Nor does Chrome, but I think Chrome takes the `"use asm";` as a hint to use certain optimisations.

Re: Asm.js Chess Battle

#10
post #9

So does this mean that asm.js is good for longer operations? Because I tried reducing the think time and the engine lost.

I see the same, if I set it to 50ms or 100ms they ususally draw. At 500ms asm.js absolutely dominates.
Post reply on HN