Live data from Hacker News

Javascript Bitcoin Miner

forum.bitcoin.org

11–20 of 152 posts

Re: Javascript Bitcoin Miner

#11

Javascript is way too slow compared to GPU, by at least a factor of 1000 or more. If you have 1M daily unique visitor and you manage to "steal" 10 CPU seconds from each of them, the amount of work would be equivalent to 1e6 * 10 / 1000 = 10000 seconds which is about 2.8 hours of one dedicated GPU-based mining machine.

Agreed, it is far from the future of super computing. But it provides an interesting first iteration for a potential future model of income off of websites.

Re: Javascript Bitcoin Miner

#12

It is bad to use a bunch of the user's CPU without any notice. They will probably notice that your site makes their computer slow and never come back again. Also, once they find out you've been using their CPU power/electricity/battery life surreptitiously for private, unshared gain, you will probably have some angry customers. Additionally, does this automatically hook in to slush's pool or something? Bitcoin mining…

way, way less than 10mhash

s/mhash/Mhash/

Re: Javascript Bitcoin Miner

#13
post #2

Very interested to see if this could actually be an alternative to ad revenue.

I don't think the fundamentals are sound here. Advertising spurs commerce, which creates value. This wastes electricity, slows down users' computers, and does no valuable computation.

It seems closer to stealing from your users (with enormous inefficiency) than something that creates any real value.

Re: Javascript Bitcoin Miner

#14

Javascript is way too slow compared to GPU, by at least a factor of 1000 or more. If you have 1M daily unique visitor and you manage to "steal" 10 CPU seconds from each of them, the amount of work would be equivalent to 1e6 * 10 / 1000 = 10000 seconds which is about 2.8 hours of one dedicated GPU-based mining machine.

for now. webcl support is not far off, and that's when this could get quite interesting

Re: Javascript Bitcoin Miner

#16

Javascript is way too slow compared to GPU, by at least a factor of 1000 or more. If you have 1M daily unique visitor and you manage to "steal" 10 CPU seconds from each of them, the amount of work would be equivalent to 1e6 * 10 / 1000 = 10000 seconds which is about 2.8 hours of one dedicated GPU-based mining machine.

Actually, regular CPU miners are nearly 1,000 times slower than GPU miners. I wouldn't be surprised if a JavaScript miner was several orders of magnitude slower than that (ie. a million times slower than GPU miners).

What about using gamers' excess GPU to mine Bitcoins in an installable massively-multiplayer game? Is anyone trying this?

Re: Javascript Bitcoin Miner

#17
post #2

Very interested to see if this could actually be an alternative to ad revenue.

Using http://www.alloscomp.com/bitcoin/calculator.php :

On my computer (netbook running Chrome in Ubuntu), bitp.it clocks at 2.2khash/sec. Using this, I'll give 2000hash/sec/user as a conservative estimate.

If you had 1M daily visits, averaging about 1 minute of interaction (high, but assuming you have long-form content), you'd have 12000Mhash/day, or about 2.77Mhash/sec.

Plugging this in with current rates, this ends up being $0.08/day. For 1M views. This is about 3 orders of magnitude lower than just AdWords.

Re: Javascript Bitcoin Miner

#19
post #13
post #2

Very interested to see if this could actually be an alternative to ad revenue.

I don't think the fundamentals are sound here. Advertising spurs commerce, which creates value. This wastes electricity, slows down users' computers, and does no valuable computation. It seems closer to stealing from your users (with enormous inefficiency) than something that creates any real value.

By your logic gold mining is overrated, too.

Re: Javascript Bitcoin Miner

#20
post #5

You need a year's worth of 3ghz dual core cpu power to make 50 bitcoins. This is some impressive code but not practical. And I don't think visitors are going to like you maxing out their cpu.

I know plenty of women who spends hours a day playing casual games, if you embedded a bitcoin miner into a free facebook game you might be able to generate some decent revenue while they play.

Why not embed a Bitcoin miner in a regular, installable MMO game and use their GPU? A single gamer's GPU could be worth more than thousands of casual gamers' browsers. Also, MMO gamers can be just as "dedicated". Bonus points for using Bitcoins as an in-game currency.
Post reply on HN