Bitcoin Forum
April 19, 2024, 10:19:16 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: scripting language-dependent hashrate - C++ faster in theory than Python?(polcb)  (Read 1474 times)
jgm_coin (OP)
Full Member
***
Offline Offline

Activity: 230
Merit: 100



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
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
1713521956
Hero Member
*
Offline Offline

Posts: 1713521956

View Profile Personal Message (Offline)

Ignore
1713521956
Reply with quote  #2

1713521956
Report to moderator
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



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
Merit: 10


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!