re: GopherJS vs WebAssembly for Go VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Can you try replacing setTimeout in L307 of wasm_exec.js (github.com/golang/go/blob/master/m...) with requestAnimationFrame and see if that gives a...
 

Thanks, I'll try. I'm worried that this might conflict with rAF on the game side.

 

My worry was right: FPS is now up to 30 when the number of sprites are small (e.g. 100 or so), while FPS was 60 before the fix.

code of conduct - report abuse