I have, what to me, looks like a large project. Originally written about 90% in VB6 and the remainder in VC++ (Visual C++ 6.0 Enterprise Edition). There are maybe 2,000 lines of code written in VC++ which constitute a DLL with about 80 functions (81 to be precise)
There are two reasons I have used VC++. The first is that speed is of the essence - the program may literally run for weeks finding solutions and the speed of the central loop is crucial. From experience it seems like the routines in VC++ run about three times quicker than the equivalent written in VB6
Secondly, I have written a lot of bit handing routines using inline ASM.
I have spent several months converting the VB6 stuff into vb.net (which run at about half the speed of VB6) and am now looking at the VC++ stuff
Some questions:
1. Is VC++.net going to run at the same speed as vb.net as I understand they both translate into an Intermediate language? If so, it will be a LOT slower than VC++ 6.0?
2. Can I use inline ASM in VC+.net?
3. Can I view (somehow) the disassembled code as I can in VC++? This is very handy when you are trying to optimise speed
4. What version of VC++.net should I use (I am currently using VB 2010 but am happy to spend money and upgrade if necessary)
5. Any general observations from people who have already experienced this transition will be very much appreciated
Many thanks!
There are two reasons I have used VC++. The first is that speed is of the essence - the program may literally run for weeks finding solutions and the speed of the central loop is crucial. From experience it seems like the routines in VC++ run about three times quicker than the equivalent written in VB6
Secondly, I have written a lot of bit handing routines using inline ASM.
I have spent several months converting the VB6 stuff into vb.net (which run at about half the speed of VB6) and am now looking at the VC++ stuff
Some questions:
1. Is VC++.net going to run at the same speed as vb.net as I understand they both translate into an Intermediate language? If so, it will be a LOT slower than VC++ 6.0?
2. Can I use inline ASM in VC+.net?
3. Can I view (somehow) the disassembled code as I can in VC++? This is very handy when you are trying to optimise speed
4. What version of VC++.net should I use (I am currently using VB 2010 but am happy to spend money and upgrade if necessary)
5. Any general observations from people who have already experienced this transition will be very much appreciated
Many thanks!