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. General Programming
  3. C / C++ / MFC
  4. Speed VStudio vs .NET

Speed VStudio vs .NET

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studioperformancequestionlearning
4 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    doctorpi
    wrote on last edited by
    #1

    Hi guys Somebody told me that the app generated with .NET are still slower than the app generated with VStudio (app that need speed of course, with millions of calcultaions). Is this true or not? Is there a comparison table somewhere? Best Regards Doc

    4 J A 3 Replies Last reply
    0
    • D doctorpi

      Hi guys Somebody told me that the app generated with .NET are still slower than the app generated with VStudio (app that need speed of course, with millions of calcultaions). Is this true or not? Is there a comparison table somewhere? Best Regards Doc

      4 Offline
      4 Offline
      4apai
      wrote on last edited by
      #2

      as i know. .net got its own interpretor machine - to translate c++, C#, vb code in proper way. therefore its initially run it and then interprete code there. that's the way it running slower. the explanaition could be not exact. 4apai There're no impossible tasks. There're tasks that required infinite period of execution time.

      1 Reply Last reply
      0
      • D doctorpi

        Hi guys Somebody told me that the app generated with .NET are still slower than the app generated with VStudio (app that need speed of course, with millions of calcultaions). Is this true or not? Is there a comparison table somewhere? Best Regards Doc

        J Offline
        J Offline
        jhwurmbach
        wrote on last edited by
        #3

        Visual Studio is also used to write .NET programs, so your dichotomy is misplaced. If you think of C++ vs. C# (or any other .NET language, for that matter), you may notice a decrease or a small increase in performance, depending on the exact nature of your algorithm. In fact, writing a slow C++-Program is very easy, writing a fast, fault tolerant one is remarkably complex.


        "We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation." -- Caius Petronius, Roman Consul, 66 A.D.

        1 Reply Last reply
        0
        • D doctorpi

          Hi guys Somebody told me that the app generated with .NET are still slower than the app generated with VStudio (app that need speed of course, with millions of calcultaions). Is this true or not? Is there a comparison table somewhere? Best Regards Doc

          A Offline
          A Offline
          Adi Narayana Vemuru
          wrote on last edited by
          #4

          The Theory proposed is not 100% right. But that's true when the any piece of code is running for first time during execution of application in Dotnet comparing to C++ application(VS 6.0 compiler). Reason is Dotnet compiler generates MSIL, which will be compiled to Native code by JIT on first execution of each MSIL piece of code. Once it's compiled to Native code it's similar to any C++ program compiled with VS 6.0 compiler. But when comes to application specific, the performance definitely depends on the algorithms you are implementing. hope the above suffice for ur doubt Regards, Adi

          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

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups