Link to home
Start Free TrialLog in
Avatar of jfz2004
jfz2004

asked on

How to use Visual C++ without .NET

Hi,

I am  building a large C++ project in Microsoft Studio and it has
intensive computing. I fear if I use .NET, it may get slow down
at runtime. So I am thinking of building it without .NET.
How can I do that?  I am using Windows XP and microsoft studio
2003 and 2005 beta.

Thanks a lot.

Jennifer Zhou
(Sorry I don't have a lot of points.)
ASKER CERTIFIED SOLUTION
Avatar of tkarampilas
tkarampilas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of esorf
esorf

We do this regularly in VS 2003 and it works fine.

I recommend putting the intensive computation in a DLL or COM library. Build that using just C++.  But use .NET for application UI.  It will save you a lot of time.

- Frank
If you use .Net the chance that you will be using a large number of already build components make your development time shorter which means your project is cheaper, you could ask the same amount of money but make more in time. Also you do not want to re-invent the wheel. Also the components in .Net are thoroughly tested, thus you will spend less time debugging and more time optimising.

If you code is well written your chances of having performance issues are less. E.g. using binary search is faster than linear search.

The last performance results I hear .Net was about 80% of the speed of native code.

Most applications spend 90% of the time in 5 - 10% of the actual code. I suggest that you rather make these parts native code if realy needed.
Avatar of jfz2004

ASKER

Thank you all so much. I will accept all your answers.
Jennifer