Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go check it out with this miner implementation I intend using and customizing. [1]

[1] https://coin-hive.com



Can you/will you run that on a web worker? No way that would work on the foreground thread if you're using that for your game. That obviously depends on how much work your game does but this, for example, would suck with anything else going on in the foreground, especially on a phone: https://arcade.ly/games/asteroids/.


I'll first do whatever's most sensible with current readily available tech and measure. Coin-hive success case [?] (or so I've read), used secondary tab, which contained details about mining data itself.

[?] I think they've removed it from their homepage, most likely because they thought it's not fitting to include it there. :/


Given their test and API documentation both refer to threads I'm guessing it must be using web workers. I might start offering it to desktop users, along with something like https://www.pollfish.com/, as ways to get rid of adverts on the site (I make sweet f.a. from ads, although I get pretty minimal levels of traffic, tbh - need to spend a lot of time on SEO, which is of course not the fun bit). I'm definitely steering clear of offering it on mobile though.


Feel free to hit me with any data you gather, if you choose to do so, of course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: