Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: wsxdrfv on January 26, 2018, 10:27:04 AM



Title: Why need bitcoin source compiling?
Post by: wsxdrfv on January 26, 2018, 10:27:04 AM
Correct me if I know wrong.

I know the reason like this,

If some programmer want to revise the bitcoin source and after done, for test, he need to compile revised source to make new running file, -qt.exe

Is this right?

Thanks.


Title: Re: Why need bitcoin source compiling?
Post by: mocacinno on January 26, 2018, 10:29:38 AM
Correct me if I know wrong.

I know the reason like this,

If some programmer want to revise the bitcoin source and after done, for test, he need to compile revised source to make new running file, -qt.exe

Is this right?

Thanks.

Not only for a test... It's also possible an individual doesn't trust the person who compiled the binaries. In this case, the individual can pull bitcoin's source from github, effectively vet the sourcecode completely, then compile his own binaries, not for testing purposed, but for real live production usage.
As a matter of fact, i usually compile the binaries myself....


Title: Re: Why need bitcoin source compiling?
Post by: achow101 on January 26, 2018, 03:51:39 PM
Bitcoin Core is written in C++ which is a compiled language. Thus it needs to be compiled in order to be run. Compiled languages are used because they give more control over memory management and are more efficient and optimized/optimizable than scripting languages which do not need compiling.


Title: Re: Why need bitcoin source compiling?
Post by: alexeyneu on January 26, 2018, 06:53:14 PM
compiled sources runs faster