Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   What langage is fastest for mathmatical calculations? (http://www.go4expert.com/forums/langage-fastest-mathmatical-calculations-t24130/)

dave1234 9Dec2010 18:11

What langage is fastest for mathmatical calculations?
 
Hi,

I have a project I'm working on which requires sheer brute force to get the answer. I was wondering what programming language would perform a huge number of simple mathmatical calculations the fastest.

I do not have any other requirement other than being able to come up with the answer in the shortest timescale possible... at the moment although this is very vague I am estimating it would take my computer approximately 5 months to perform all the calculations, based on a trial run of a smaller amount of data.

I have no idea what would be best... Would an older "simpler" language such as Pascal be faster or an object orientated language or....

Any advice would be appreciated

Thanks
Dave

cpulocksmith 14Dec2010 23:11

Re: What langage is fastest for mathmatical calculations?
 
im curious. what exactly are you working on? there could be many things to take into account on this speed thing, so if you could fill me in a little more i might be able to help you out a little.

dave1234 15Dec2010 14:13

Re: What langage is fastest for mathmatical calculations?
 
the best way to describe the project is "trying find the answer to a jigsaw puzzle" I effectively want to write a program to work through each possible combination to see if the pieces fit or not, there are billions of possible combinations.

The maths isn't too complex, just a lot of it!

lionaneesh 21Feb2011 03:52

Re: What langage is fastest for mathmatical calculations?
 
Quote:

Originally Posted by dave1234 (Post 75700)
Hi,

I have a project I'm working on which requires sheer brute force to get the answer. I was wondering what programming language would perform a huge number of simple mathmatical calculations the fastest.

I do not have any other requirement other than being able to come up with the answer in the shortest timescale possible... at the moment although this is very vague I am estimating it would take my computer approximately 5 months to perform all the calculations, based on a trial run of a smaller amount of data.

I have no idea what would be best... Would an older "simpler" language such as Pascal be faster or an object orientated language or....

Any advice would be appreciated

Thanks
Dave

Brute Forcer ...

Old Nifty x86 Assembly is the best for your work..
You can have a look at the Jhon The Ripper

Its pretty well written ...


All times are GMT +5.5. The time now is 10:05.