Bitcoin Forum
December 11, 2017, 11:10:33 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: scripting language-dependent hashrate - C++ faster in theory than Python?(polcb)  (Read 1370 times)
jgm_coin
Full Member
***
Offline Offline

Activity: 230



View Profile
April 12, 2013, 02:14:45 AM
 #1

I'm an interdisciplinary grad student recent exposed to coding by random placement with a CS major in grad housing and an interest in writing [R] for scientific programming. 

I've always learned that C is the fastest (albeit less readabiliable [play on accountabilybuddy]).  So should CGminer be fundamentally faster than the python-based mining?  or is most of the compute carried elsewhere? 

Discuss.

Rent out your rig for up to 100% more than you can mine http://tinyurl.com/lc5axo2
1513033833
Hero Member
*
Offline Offline

Posts: 1513033833

View Profile Personal Message (Offline)

Ignore
1513033833
Reply with quote  #2

1513033833
Report to moderator
1513033833
Hero Member
*
Offline Offline

Posts: 1513033833

View Profile Personal Message (Offline)

Ignore
1513033833
Reply with quote  #2

1513033833
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
crazyates
Legendary
*
Offline Offline

Activity: 952



View Profile
April 12, 2013, 03:53:26 AM
 #2

One of the advantages of CGMiner is that it's written in C. This isn't just a theoretical advantage, as it uses very little CPU, even when running many GH/s. Avalon uses a modified version of CGMiner for their products, and it runs over 65GH/s on a tiny little chip with barely 64MB of RAM.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Marrs
Member
**
Offline Offline

Activity: 112


View Profile
April 12, 2013, 04:45:55 PM
 #3

I'm an interdisciplinary grad student recent exposed to coding by random placement with a CS major in grad housing and an interest in writing [R] for scientific programming. 

I've always learned that C is the fastest (albeit less readabiliable [play on accountabilybuddy]).  So should CGminer be fundamentally faster than the python-based mining?  or is most of the compute carried elsewhere? 

Discuss.

There isn't much to discuss.

A well-optimized C based CPU miner should be faster than a Python based CPU miner.

However, CPU mining is mostly obsolete (due to reward being lower than power cost).

With GPUs or FPGAs or ASICs, all of the Real Work is being done elsewhere, and the C or Python (or Java in the case of Bitminter's custom client) miner code is just feeding work to the hardware that does the calcs and relaying results back to the pool, so there's pretty much no difference in hashing speed.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!