Slashdot Mirror


C++ the Clear Winner In Google's Language Performance Tests

Paul Dubuc writes "Google has released a research paper (PDF) that suggests C++ is the best-performing language on the market. It's not for everyone, though. They write, '...it also required the most extensive tuning efforts, many of which were done at a level of sophistication that would not be available to the average programmer.'"

4 of 670 comments (clear)

  1. Re:Common knowledge by Anonymous Coward · · Score: 5, Funny

    It's been common knowledge for at least a decade that Java is 6 months away from being quicker than c++.

  2. Re:Common knowledge by AuMatar · · Score: 5, Insightful

    There's a lot of Java-ites who claim that Java is just as fast. They're idiots, but they're vocal.

    --
    I still have more fans than freaks. WTF is wrong with you people?
  3. Re:Environment, conditions and parameters by Daniel+Dvorkin · · Score: 5, Funny

    I remember that Borland Pascal (in 19991) executed almost 10 times faster than Borland C++ on a consistent basis on the same systems.

    Apparently, the reason it executed so fast was because it was reaching 18000 years into the future to run on the computers of the galaxy-spanning civilization built by the hyperspatial god-beings who will be our distant descendants. Man, Borland had some great tech in its day.

    --
    The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
  4. Re:Common knowledge by EvanED · · Score: 5, Informative

    A GC is a net loss, but don't think it doesn't have good effects mixed in there. Allocation of memory is a few instructions with a GC; malloc() can't hope to be in that same league. On a whole, GCs improve the memory locality of your program as it runs, with some substantial hiccups at the collections; manual memory management hinders it as your heap becomes more fragmented.

    On a whole I think most programs nowadays should be written in a managed language; the performance gap just doesn't matter for most things.