because 12 years can't code that type of stuff.
Originally Posted by master131
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:
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
thirdnumber = GetTickCount()
MsgBox "time taken to count to 1000000000: " & thirdnumber - firstnumber
firstnumber = GetTickCount();
while (secondnumber <= 1000000000)
thirdnumber = GetTickCount();
cout << "time taken: " << thirdnumber - firstnumber;