Results 1 to 10 of 10

Thread: Speed difference: VB6.0 vs C# Express/VB Express

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Arrow Speed difference: VB6.0 vs C# Express/VB Express

    Anyone here know which is faster between the two?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    I thought there was a 3% variance where vb6 was faster then .net 1.1 apps. Not sure about 2.0 but it was supossed to be improved. So I would say .NET is faster.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    I have heard that assumption before but a link would come in handy...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    I just remember reading it somewhere on VBF. There may have been a link in one of the posts. Probably easier then searching MS.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    Do you want theoretical, practical, or Jacob Roman?

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    Quote Originally Posted by penagate
    Do you want theoretical, practical, or Jacob Roman?
    Give us all three!

  7. #7

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    Quote Originally Posted by penagate
    Do you want theoretical, practical, or Jacob Roman?
    I want real...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    Theoretical I can give you. In an ideal world with a JIT compiler that had every optimisation tweak for every platform, .NET will always be faster as it can take advantage of the platform-specific advantages. Precompiled code cannot to a full degree without sacrificing compatibility.

    Practical - I guess the question to ask is what sort of operations you are looking to compare the two platforms on. I don't think there would be a consistent variance between them. For the most basic of applications, .NET certainly has more overheads (JIT compilation, exception handling, garbage collection) but in a large app these can be valuable features to have. I am dodging the question slightly as I don't have (and couldn't quickly find) a straightforward response to it, but you could always create conceptual benchmarks, if you just want numbers.

    Jacob Roman - VB.NET is about 3% slower than VB6 and I hate it because this and that and blah blah.

    Lastly I will add that well-written structured code will always outperform badly written spaghetti, no matter the platforms, or flavours of sauce. Good logic has no substitute.

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    Quote Originally Posted by penagate
    Lastly I will add that well-written structured code will always outperform badly written spaghetti, no matter the platforms, or flavours of sauce. Good logic has no substitute.
    Amen!

  10. #10
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Speed difference: VB6.0 vs C# Express/VB Express

    There are two measured of speed - run time performance and development turn around time. VB6 and VB.net are in the same ballpark in the former, but VB.Net is a significant productivity boost in the latter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width