Hi,
I'm currently a VB.NET 2008 (Framework 3.5) user, but am seriously considering using PB as a second programming tool and on the long run as a replacement of VB.NET.
To convince myself that that is a good thing to do I'm investigation PB's quality in several ways:
On other thing I like to do now, and for which I need your help, is to test PB's speed, because that would be one of the main reasons I'm interested. As PB doesn't have a trial version I would kindly ask you to provide me with a compiled version of the code below (created with VB.NET):
On my PC this test, using a compiled EXE, runs between 11165-13066 milliseconds. These are the minimum and maximum times recorded on numerous executions. My PC: XP SP3, 4GB RAM, Intel Core 2 Duo T5870 @ 2.00Ghz.
I certainly don't say that this is the greatest test ever made, but it will give me a clue on string and calculation operations. If you'll have better code examples (with compiled EXE's) I'll be very grateful to receive them from you.
Second question:
To be honest I think that VB.NET is a great programming language (also thanks to the huge framework) and VS2008 is a very comfortable IDE (especially the intellisense feature). On the other hand it can certainly be slow sometimes and sometimes the IDE eats 500MB of my memory.
Besides the speed can you think of any more reasons to switch to PB?.
Regards,
Marc
(once user of the great TurboBasic)
I'm currently a VB.NET 2008 (Framework 3.5) user, but am seriously considering using PB as a second programming tool and on the long run as a replacement of VB.NET.
To convince myself that that is a good thing to do I'm investigation PB's quality in several ways:
- Reading through several threads in PB's forum.
- Reading the newsgroups, although those aren't a great source regarding the longtime 'war' going on there between persons I will not mention
.
- Studying the online documentation of PB/Win9.
On other thing I like to do now, and for which I need your help, is to test PB's speed, because that would be one of the main reasons I'm interested. As PB doesn't have a trial version I would kindly ask you to provide me with a compiled version of the code below (created with VB.NET):
Code:
'UInteger = unsigned 32-bit (4-byte) 'Integer = signed 32-bit (4-byte) 'Double = double-precision floating point number Dim StopWatch As New System.Diagnostics.Stopwatch() Dim strString As String = "" Dim dblDouble As Double = 0 StopWatch.Start() For intIndex As UInteger = 0 To 100000 strString = "" For intString As Integer = 0 To 200 strString = "ab" & strString & "de" Next strString = Replace(strString, "ab", "123") dblDouble = 9876.54321 For intDouble As Integer = 0 To 1000 dblDouble *= dblDouble dblDouble /= ((dblDouble + 100) / 2) Next Next MsgBox(StopWatch.ElapsedMilliseconds.ToString)
I certainly don't say that this is the greatest test ever made, but it will give me a clue on string and calculation operations. If you'll have better code examples (with compiled EXE's) I'll be very grateful to receive them from you.
Second question:
To be honest I think that VB.NET is a great programming language (also thanks to the huge framework) and VS2008 is a very comfortable IDE (especially the intellisense feature). On the other hand it can certainly be slow sometimes and sometimes the IDE eats 500MB of my memory.
Besides the speed can you think of any more reasons to switch to PB?.
Regards,
Marc
(once user of the great TurboBasic)
Comment