Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. VS.NET Issues

VS.NET Issues

Scheduled Pinned Locked Moved The Lounge
4 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15387284
    wrote last edited by
    #1

    Can anybody confirm the nasty rumor I've heard that ALL VS7 applications will be running off of the same runtime, whether they were written in C#, VB.NET or C++? If so, programming VS.NET is going to be extremely frustrating. The first thing that I noticed when I began toying with this was that an application written in VB.NET (I'm learning this first, because I'm the only programmer in my office that knows both VB and VC) is EXTREMELY slow to run. A simple program that does nothing but display a message box, then terminates, takes about 10 to 12 seconds to display on my Dell 550MHz PC. What's going on with that? The same program in VB6 or VC6 takes milliseconds to display the message box. Any thoughts

    J 1 Reply Last reply
    0
    • M Member_15387284

      Can anybody confirm the nasty rumor I've heard that ALL VS7 applications will be running off of the same runtime, whether they were written in C#, VB.NET or C++? If so, programming VS.NET is going to be extremely frustrating. The first thing that I noticed when I began toying with this was that an application written in VB.NET (I'm learning this first, because I'm the only programmer in my office that knows both VB and VC) is EXTREMELY slow to run. A simple program that does nothing but display a message box, then terminates, takes about 10 to 12 seconds to display on my Dell 550MHz PC. What's going on with that? The same program in VB6 or VC6 takes milliseconds to display the message box. Any thoughts

      J Offline
      J Offline
      jithu
      wrote last edited by
      #2

      In .NET your applications are compiled to Intermediate Language (IL) which is then JIT compiled to native language at runtime. Everything runs using the common language runtime which includes support for things like garbage collection and security. I'm surprised your VB app was so slow - I've written exactly the same application you described using C# and there was no noticeable speed difference to native code (celeron 300, 128Mb) One point is that when you initially load your first .NET appplication it will have to load the .NET framework into memory, and then load your program. Once the .NET framework is in memory all subsequent runs should be quick.

      U 1 Reply Last reply
      0
      • J jithu

        In .NET your applications are compiled to Intermediate Language (IL) which is then JIT compiled to native language at runtime. Everything runs using the common language runtime which includes support for things like garbage collection and security. I'm surprised your VB app was so slow - I've written exactly the same application you described using C# and there was no noticeable speed difference to native code (celeron 300, 128Mb) One point is that when you initially load your first .NET appplication it will have to load the .NET framework into memory, and then load your program. Once the .NET framework is in memory all subsequent runs should be quick.

        U Offline
        U Offline
        User 11795608
        wrote last edited by
        #3

        Not to mention we are talking about alpha quality software here. It has been stated, by Microsoft, that load time is an issue and is being fixed. Their stated goal is to equal the performance of VB6. From a web development standpoint, the new Visual Studio is unbelievable. I am so anxious to get started with this stuff in the real world. ASP based applications should receive a huge performance increase. The http://www.ibuyspy.com/ site has been up and running for 60+ days, recieved over a million visitors and hasn't had one problem. From my perspective, that is extremely impressive considering it's an alpha. P.S. We should be seeing a beta 1 release towards the end of October

        J 1 Reply Last reply
        0
        • U User 11795608

          Not to mention we are talking about alpha quality software here. It has been stated, by Microsoft, that load time is an issue and is being fixed. Their stated goal is to equal the performance of VB6. From a web development standpoint, the new Visual Studio is unbelievable. I am so anxious to get started with this stuff in the real world. ASP based applications should receive a huge performance increase. The http://www.ibuyspy.com/ site has been up and running for 60+ days, recieved over a million visitors and hasn't had one problem. From my perspective, that is extremely impressive considering it's an alpha. P.S. We should be seeing a beta 1 release towards the end of October

          J Offline
          J Offline
          jithu
          wrote last edited by
          #4

          I totally agree about the web development stuff. I still like to consider myself a C++ guy but the advances with ASP+ and .NET leave me feeling like a kid with a new toy. Debugging that actually works, ASP pages using C++ or C#, scheduled server restarts, Session information integrity retained even after reboots, proactive component destruction/recreation,...<Homer Simpson drool...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups