speed of C++ relative to C#.net and Java

Discussion in 'C++' started by robinsand@gmail.com, Jun 24, 2008.

  1. Guest

    There has been much discussion in these groups about the speed of C++
    relative that that of Java for performing given functions and when run
    on specified compilers. Does anyone know how C++'s speed compares to
    C#.net's? Does it depend on the particular task being executed and the
    compiler running the code (or not)?
     
    , Jun 24, 2008
    #1
    1. Advertising

  2. Ivan Novick Guest

    On Jun 23, 6:52 pm, "" <> wrote:
    > There has been much discussion in these groups about the speed of C++
    > relative that that of Java for performing given functions and when run
    > on specified compilers. Does anyone know how C++'s speed compares to
    > C#.net's? Does it depend on the particular task being executed and the
    > compiler running the code (or not)?


    Of course it depends on everything. Try timing your code and find out
    how long it takes on any platforms you are interested in.

    Ivan Novick
    http://www.mycppquiz.com
     
    Ivan Novick, Jun 24, 2008
    #2
    1. Advertising

  3. On Jun 24, 2:52 am, "" <> wrote:
    > There has been much discussion in these groups about the speed of C++
    > relative that that of Java for performing given functions and when run
    > on specified compilers. Does anyone know how C++'s speed compares to
    > C#.net's? Does it depend on the particular task being executed and the
    > compiler running the code (or not)?


    Yes it depends on many factors. One apparent constant, however, is
    that
    Java people seem obsessed with devising benchmarks and scenarios to
    demonstrate Java matching or superseding C++ performance - search the
    archives of this group for many examples. This is a largely futile
    activity,
    but sadly too many C++ers get sucked in also. There are significant
    reasons
    to favour C++ over Java and C# that have nothing to do with
    performance.
     
    tragomaskhalos, Jun 24, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ham

    I need speed Mr .Net....speed

    Ham, Oct 28, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    2,375
    Antony Baula
    Oct 29, 2004
  2. efiedler
    Replies:
    1
    Views:
    2,135
    Tim Ward
    Oct 9, 2003
  3. Laurent
    Replies:
    33
    Views:
    854
    Emile van Sebille
    Aug 22, 2011
  4. Weng Lei-QCH1840
    Replies:
    1
    Views:
    200
    Thomas
    Aug 15, 2003
  5. Replies:
    43
    Views:
    438
    Gavin Kistner
    Sep 30, 2005
Loading...

Share This Page