Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Project Staging Area :
PRPClient source?
Author |
Message |
|
Hey -
where can I find the PRPNet/PRPclient source code (if it's available)? I think it would be kind of fun to see how things work in there and I also have the idea that making some sort of graphical frontend would be a neat challenge.
I do programming in my spare time - interestingly enough, prime number testers - so I'd be interested in trying at least.
If there are any major issues I'd face or things about which I should know, I'd appreciate it. Also it'd be good to know in what language the program(s) is/are primarily written...
Thanks!
____________
| |
|
|
Hey -
where can I find the PRPNet/PRPclient source code (if it's available)? I think it would be kind of fun to see how things work in there and I also have the idea that making some sort of graphical frontend would be a neat challenge.
I do programming in my spare time - interestingly enough, prime number testers - so I'd be interested in trying at least.
If there are any major issues I'd face or things about which I should know, I'd appreciate it. Also it'd be good to know in what language the program(s) is/are primarily written...
Thanks!
http://www.mersenneforum.org/showthread.php?p=316634#post316634 | |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1259 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
You can always find the latest PRPNet here, http://home.roadrunner.com/~mrodenkirch. Although I don't frequently update the PRPNet page, just add "prpnet_5.2.0.zip" to the address to get the source. To get more information about PRPNet releases, check out http://www.mersenneforum.org/showthread.php?t=16424. I always post a link to new releases there.
PRPNet is written in C++. It's rather friendly C++. I don't create any overloaded operators and I don't use template classes, i.e. <T>.
I would prefer than any U/Is written for PRPNet be based upon an open-source SDK that can be easily ported to other platforms. If it is "married" to Windows, e.g. using .NET or Windows-specific APIs, I won't distribute it. Many PRPNet users run on Macs and Linux machines. Fortunately there are a number of SDKs that fit the bill (gtk, qt, and java are examples). | |
|
|
ew Windows API is so last month. That is to say, I wrote all my programs in pure Win32 API until my partner's father passive-aggressively mentioned that he'd done that in the late 90s (and only then). I've since been teaching myself Qt and have had pretty good success there.
I specifically re-wrote my own applications to be cross-platform using only Qt code so yeah, I totally understand what you mean.
Oh and it's C++ huh. So are my programs. Heck mine might even be more complex than yours, but then again that might not be a good thing for me. I don't want to get an idea, run with it, and end up making something needlessly complicated that no one will like.
I know Java too, but I'm not all that familiar with how to put a Java interface on a C++ program. Qt I'm fine with. Never done anything with GTK.
I'm not planning on having this be some amazing step forward for PRPNet, mind. It's just an idea to keep me occupied. For example, I write "primality testers," but would never expect PrimeGrid to actually consider using them. Although who knows. If I end up making something BOINC-like (BOINC uses wxWidgets I believe) for PRPNet that'd be kinda neat.
I'll be sure to take a look at that source, then!
____________
| |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1259 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
That's good to know. I try to keep my C++ easy so that the average developer can follow it. There is plenty of inheritance, polymorphism, and abstraction in the code. I've worked with people who only know procedural C and they have found my code readable. Of course, that may imply that my code is too much like procedural C, but I'm not a good judge of that. All I can say is that I've seen far too much cryptic C++ in my life and I know that is the main reason why most people hate the language. | |
|
|
On a related note I can't seem to access http://uwin.mine.nu/PRPNet/ to download the client (Nov 4th). Is there a mirror with binaries? | |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1259 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
On a related note I can't seem to access http://uwin.mine.nu/PRPNet/ to download the client (Nov 4th). Is there a mirror with binaries?
If you have Windows, you can go to my website and d/l the zip file. The Windows exes are bundled with it. | |
|
|
.. I'm not planning on having this be some amazing step forward for PRPNet, mind. It's just an idea to keep me occupied..
I wish you all the best in your endeavors NullC! - A man after my own heart.
Please feel free to run with my little efforts at VB and Qt coding for PRPNet.. U can read all about it (with links to sources,etc.) in
This Thread.
I've been meaning to keep my little editor current and updated, and bundle it into a complete self-installing 'PRPNet Package' for windows users... but... pressure of work and that ever-elusive 'Round Tuit', which I'm still waiting to get.. (December holidays are looming.. so perhaps.. who knows?)
While I do understand the desire for everything to be C++ and Linux 'friendly', I still feel the greatest need in this area is for a simple interface for the Windows users, as I know there are many out there who are scared-off by the idea of having to edit an ini file. I can't imagine any Linux users would have similar problems!
Best of Luck, & I'll be standing in line to test whatever you come up with..
____________
| |
|
Message boards :
Project Staging Area :
PRPClient source? |