Hacker News new | ask | show | jobs
by mtve 3203 days ago
why not webassembly? it could be ~10 times speedup.
1 comments

It's actually using webassembly if available, otherwise it fallbacks on asm.js

>If true, the miner will always use the asm.js implementation of the hashing algorithm. If false, the miner will use the faster WebAssembly version if supported and otherwise fall back to asm.js. The default is false.

Source : https://coin-hive.com/documentation/miner

that's great.