none
C++ V/s C# - Performance ? RRS feed

  • General discussion

  • I wanted to ask whose performance is better C# or C++. I believe that C++ is faster than C#.

    It will be very helpful if you provide some codes that might help keeping your argument. 

    Thank You,

    Feurer

    Thursday, May 2, 2013 3:04 AM

All replies

  • C++ can let us use pointer, which can be applied for memory-directly controlling.

    And you can escapture the whole codes into a dll in C++, and it can be also called by C# for some interactions with hardware or core things related to CPU, ect.

    The compiled result of C++ is CPU-based codes, it is very very similar to that of Assembly Language. So the speed is averagely faster than that of C#;)


    If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer

    Help by clicking:
    Click here to donate your rice to the poor
    Click to Donate
    Click to feed Dogs & Cats


    Found any spamming-senders? Please report at: Spam Report

    Thursday, May 2, 2013 3:10 AM
  • Hi Feurer,

    Welcome to the MSDN Forum.

    I have changed the type to discussion for more insights.

    Thanks.


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 2, 2013 5:03 AM
    Moderator