News for hackers. Stuff that matters.
Re:The first 10k games at bgammon.org, an open source online... by oldmariner on Wednesday July 03, 2024 @12:05PM (#40867295)
https://imgur.com/a/bqyWblS

Maybe it was the Firefox addon Canvas Blocker? That addon was crashing the game, so I disabled it and appears to work now. The game still makes my laptop fans kick on though.

Re:The first 10k games at bgammon.org, an open source online... by tslocum on Wednesday July 03, 2024 @12:32PM (#40867566)
Thanks. Yes, that makes sense. The web version of the game is powered by WebAssembly and renders to a canvas.

The game is only able to utilize one CPU core when running in the browser, maxing that core out probably set off your fans.

Re:The first 10k games at bgammon.org, an open source online... by NooneAtAll3 on Wednesday July 03, 2024 @01:08PM (#40867921)
...isn't webassembly supposed to be more efficient?
Re:The first 10k games at bgammon.org, an open source online... by tslocum on Wednesday July 03, 2024 @01:15PM (#40867993)
The reduced performance is a Go problem rather than a WebAssembly problem. See this issue for more info:

https://github.com/golang/go/issues/28631