OK, first results...
NOTICEThis code is completely unoptimized and is single-thread. Also, it is not a miner. It just does 10 times of 1024 hashes using GroestlCoin algorithm and prints the time it took.
Win64: 160KH/s
Win32: 60KH/s (so yes, having Win32 version with same speed as Win64 will require some tweaking)
Chrome: 1.5KH/s
FireFox: 12KH/s (that's because FireFox supports asm.js, I believe)
For those, who want to try it out for yourself, here's the link:
groestlcoin.org/grshash.htmAgain, this is not optimized in any way! This is just
proof of concept. To show that it is possible.
Next, I'm planning to compile for iPad and Android and see the speed results.
After that, we will move on to speed optimizations.
For developers:
Please see
https://github.com/srcxxx/grshash. It has dead-simple code.
Perhaps you can use it as a basis when tweaking CPU miners.
For example, I noticed that our CPU miner is not using SPH library. And so it's single thread speed on my PC is 240KH/s in Win64 (vs 160KH/s with SPH in my little grshash project).
So there is quite a bit to explore here.
I'll keep you posted.
Thanks