Bitcoin Forum
March 19, 2024, 10:49:30 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Free Pascal (Object Pascal) Bitcoin Client  (Read 4589 times)
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
July 21, 2011, 10:42:57 PM
 #1

I want to anounce that I have started working on an implementation of the full Bitcoin p2p potocol (and Wallet functionality) in Object Pascal.

The sources are available under LGPL with static linking exception (same as the Lazarus components), and I am trying to make it as portable as possible for a wide range of platforms and CPUs (even big endian CPUs) while the main focus is on fast bootstrapping (initial block download), extremely fast startup times, low Bandwidth usage, low HDD usage, low RAM usage.

It will consist of the core (non UI) units for the p2p, wallet, transaction functionality that can be linked into your own applications and later (not yet started) also a rich GUI for Windows, Unix, Linux, Mac-OSX that will be made with Lazarus/LCL for superior end user experience.

the project home page is here: http://code.google.com/p/fpbitcoin/

Currently there are no downloads yet but you can check out the (half finished and slowly growing) source from svn already and study it, experiment with it, etc.

I try to document it as good as possible to make it usable for documentation purposes also, so it might help others to get started with their own implementations too. If you see something strange in the code that needs explanation (or needs improvement or is an outright error) then please tell me and I will try to document it, improve it or fix it.


1710845370
Hero Member
*
Offline Offline

Posts: 1710845370

View Profile Personal Message (Offline)

Ignore
1710845370
Reply with quote  #2

1710845370
Report to moderator
1710845370
Hero Member
*
Offline Offline

Posts: 1710845370

View Profile Personal Message (Offline)

Ignore
1710845370
Reply with quote  #2

1710845370
Report to moderator
1710845370
Hero Member
*
Offline Offline

Posts: 1710845370

View Profile Personal Message (Offline)

Ignore
1710845370
Reply with quote  #2

1710845370
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 23, 2011, 09:43:26 AM
 #2

Pascal.. makes me feel nostalgic to Turbo Pascal.. Smiley Didn't know people were still using it, neat!

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
July 23, 2011, 06:56:00 PM
Last edit: July 24, 2011, 01:42:00 PM by prof7bit
 #3

Pascal.. makes me feel nostalgic to Turbo Pascal.. Smiley Didn't know people were still using it, neat!

I'm of course not using 1980's Turbo Pascal, I am using a modern compiler and IDE from the 21st century.

There exists a large and growing(!) community around the FPC compiler whose homepage is here: http://www.freepascal.org/ and the free crossplatform IDE and RAD tool Lazarus (imagine something like Delphi for Linux and Mac or an IDE as powerful as Netbeans and as fast and lightweight as notepad). If you want to check it out http://sourceforge.net/projects/lazarus/files/ (the easiest to install is the Windows version, it comes completely bundled with compiler, debugger and IDE in one setup.exe, the other platforms will require you to install separate packages for compiler and IDE (and maybe even the compiler sources)).

Should you really decide to spend an afternoon trying it out (you mentioned nostalgic feelings about Pascal so I bet you are already downloading it) then you will quickly understand why it makes perfect sense that there are *many* people who can use this development platform today and that most of them like it very much and will continue to use it for many years to come. You might even start re-evaluating your attitude towards the other mainstream languages and tools as a direct consequence of this experience.

______
PS: For the Bitcoin client I am using FPC version 2.5.1 (which is from the bleeding edge development branch) and not the stable 2.4.2 Compiler that is available on the sourceforge downloads. This means I might have used language constructs that are not yet available in 2.4.2 (FPC is still improving with every single day).

Nightly snapshots of Lazarus can be found here: http://ftp://ftp.freepascal.org/pub/lazarus/snapshots/
and nightlies of the compiler (for separate installation) here: http://ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/

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!