YeeCN:
YeeCN said:
Hi,
I need to write an application that requires HUGH volume of number crunching
(tens of billions of calculations). Speed is the single most important
factor for me.
I am wondering is .NET (vb, c#) the right framework to develop the
application so whether I should look somewhere else.
Any help or suggestions is greatly appreciated.
Best regards,
Yee
That's kind of a vague question, but let me give you some general
observations. If pure speed is your goal and nothing else, then write your
program assembler or machine langauge. Those are going to have the least
overhead. C, C++ are going to be the next fastest and written correctly,
you should be able to squeeze out some amazing performance. Managed
languages like .NET (VB.NET, C#) and Java are abstracted quite a bit so they
aren't going to run as fast as something written in assembler all else being
equal.
However, You can definitely write high performance apps in .NET. You can
also write painfully inefficient apps in Assembler. The langauge does have
an effect, but for the most part, they way things are coded have much more
of an impact. When you throw a database in the equation, this distinction
becomes even greater ( I couldn't tell if this was the case with your app or
not).w
I would really focus on design more than the language b/c speed is one
component, but maintainability , accuracy, ability to find and fix bugs easy
etc all factor into the equation and trust me on this ;-).... .NET scores a
lot higher in these regards.
And if your question is basically "Can I write a calc intensive app in .NEt
that will perform well, then answer is yes unless you have really extremem
definitions of perform.
If you can tell me a little more about the specifics and what you are
ultimately trying to do, I can be of more help.
HTH,
Bill