Sorry if this question sounds particularly naive.
I'm getting ready to write code to analyze a poker game variant. I expect that the computations will require a computer to run for, literally, months, to complete the analysis. (I've become certain that the analysis for this game has not been done before, so I can't just find the analysis online.)
The program will need to look at every possible player hand, and for each hand evaluate what to do against every possible dealer hand; there will be over a quadrillion iterations happening.
There'll be simple math, lots and lots of comparisons, array lookups, loops and loops and loops, hopefully not that much sorting.
I am not a professional programmer, and I do 99% of my programming in Perl, which is easy for me. It'd be (fairly) straightforward for me to write the necessary code in Perl, but I'm afraid it would take forever to run. Or longer.
I have programmed a couple of medium-complicated iPhone/iPad apps, which use Objective C. So, I do have some foundation in C, although it's been a couple of years since I did any Objective C programming.
My questions are: Is this likely to be a disaster if I do it in Perl? Then, I understand there are different "versions" of C -- straight C, C#, C+, etc. If I'm to start as a not-quite-beginner learning some C to use for this project, is it clear which C I should be using?
Thanks for any insight.