pr0gramm
Joined 11 years ago
Joined 11 years ago
Think about it: they're hosting a WASM blob on their site for which they don't have the source code and can't tell with certainty what exactly it's doing.
With so many faces on their team page (and a dog!), you'd think they'd have the resources and competence to build something of their own.
At this point, we (Coinhive) have paid out 992 XMR (about $89.000) to our users. We started this service 11 days ago.
The Coinhive Monero miner is about 65% as fast as a native miner would be, at least in Browsers that support WASM.
Disclaimer: I wrote the Coinhive Monero miner.
So here's another perspective. I'm running a highly dynamic site[1] with 8m sessions and 650m pageviews per month. The site runs on a single moderately sized server (4 cores, 16gb RAM) for MySQL and PHP. I can only do this, because I offload everything I can to the client.
The site loads a single 80kb JS file (which also contains all templates) and fires of one AJAX request that gets the requested data. This data is the same for all visitors (for the same resource), so it can be easily cached on the server for a few seconds, before it gets stale.
Everything on this site can be voted (tags, comments, images). These votes are stored client side and synced with the server if needed. This means I can load my canned data from the server and augment it with client data when rendering.
If I were to render it server side, I'd have to create a custom page for each and every user and load the client's votes from the database for each request. This is simply not feasible with the current hardware.
The games itself are not that interesting (altough OP certainly disagrees), but the social dynamics, shitposts and memes that came out of this were fascinating.
[1] https://vid.pr0gramm.com/2022/04/02/e9c168457179b582.mp4
[2] https://vid.pr0gramm.com/2018/04/01/fa0b52dacd80da53.mp4