because 12 years can't code that type of stuff.
And, from statistical time tests, targeting 32-bit with vb.NET code does result in a faster runtime.
Also to back up the statement about c++ running faster than vb.NET.
time it takes for c++ to count to 1000000000: 8.125 seconds
time it takes for VB to count to 1000000000 : 19.203 seconds
and here's the codes used on the test:
Vb:
Code:
Option Explicit
Private Declare Function GetTickCount Lib "kernel32" () As Long
Dim firstnumber As Double
Dim secondnumber As Double
Dim thirdnumber As Double
Private Sub Form_Load()
secondnumber = 0
firstnumber = GetTickCount()
While secondnumber <= 1000000000#
secondnumber = secondnumber + 1
Wend
thirdnumber = GetTickCount()
MsgBox "time taken to count to 1000000000: " & thirdnumber - firstnumber
End Sub
c++:
Code:
#include "stdafx.h"
#include "iostream.h"
#include "windows.h"
void main()
{
double firstnumber;
double secondnumber=0;
double thirdnumber;
firstnumber = GetTickCount();
while (secondnumber <= 1000000000)
{
secondnumber++;
}
thirdnumber = GetTickCount();
cout << "time taken: " << thirdnumber - firstnumber;
}