Slashdot Mirror


Performance Benchmarks of Nine Languages

ikewillis writes "OSnews compares the relative performance of nine languages and variants on Windows: Java 1.3.1, Java 1.4.2, C compiled with gcc 3.3.1, Python 2.3.2, Python compiled with Psyco 1.1.1, Visual Basic, Visual C#, Visual C++, and Visual J#. His conclusion was that Visual C++ was the winner, but in most of the benchmarks Java 1.4 performed on par with native code, even surpassing gcc 3.3.1's performance. I conducted my own tests pitting Java 1.4 against gcc 3.3 and icc 8.0 using his benchmark code, and found Java to perform significantly worse than C on Linux/Athlon."

9 of 954 comments (clear)

  1. java vs C by Tirel · · Score: -1, Troll

    Java isn't and never will be as fast as C/C++, people who say "but oh it's compiled it runs just as fast" haven't a clue what they're talking about.

    I suggest reading some kernel documentation or tesitng real-world applications and then you'll notice what I'm saying is true.

  2. Quick! What's the difference between an apple and by Anonymous Coward · · Score: -1, Troll

    the goatse man. One is full of crispy sweet flavor, and one has a giant asshole.

    Seriously - does anyone makes a language decision based on performance reasons alone? I would have to imagine this sort of information does nothing but feed trolls. It certainly provides nothing in the way of a valid comparison.

  3. Eugeina Song (Socre:5, funny) by Anonymous Coward · · Score: -1, Troll

    Imagine a place
    Where all the trolls play
    To rape penguins,
    Throw rotten fruit,
    To smash the windows,
    and to get stung by bees.

    Imagine a place
    Where you can't get moderated down for obvious flamebait
    Where the report abuse function dosent work
    But when you attack the Queen Be, you get flamed to a crisp

    Imagine a place, where Xandros is always reviewed
    Where Gnome trolls bash KDE
    Where Macs whack Gnomes
    Where Slackware and Debian trolls murder their own mothers

    That place is real, and its called Eugenia's Trolling supersite, OSnews.com!

  4. Re:Trig functions... by Anonymous Coward · · Score: -1, Troll

    You probably cheat when you call youre own private or internal visible methods.

    I bet you cheat too when you code youre own test apps too. its theyre platform they can do what they want. its as propriety as the mac, you code what they let you code. If you dont like it, bugger aff.

    Troll.

  5. Re:Why did VB do so bad on IO. by Anonymous Coward · · Score: -1, Troll
    I am what most people would consider a highly trained technical professional. Unlike most people who spout off at this site, I have the certificates to prove this, and furthermore they're issued by the biggest software company in existence.

    I know how to tell facts from marketing fluff. Now, here are the facts as they're found by SEVERAL INDEPENDENT RESEARCH INSTITUTES:

    Expenses for file-server workloads under Windows, compared to LinuxOS:
    • Staffing expenses were 33.5% better.
    • Training costs were 32.3% better.


    They compared Microsofts IIS to the Linux 7.0 webserver. For Windows, the cost was only:
    • $40.25 per megabit of throughput per second.
    • $1.79 per peak request per second.


    Application development and support costs for Windows compared to an opensores solution like J2EE:
    • 28.2% less for large enterprises.
    • 25.0% less for medium organizations.


    A full Windows installation, compared to installing Linux, on an Enterprise Server boxen:
    • Is nearly three hours faster.
    • Requires 77% fewer steps.


    Compared to the best known opensores webserver "Red Hat", Microsoft IIS:
    • Has 276% better peak performance for static transactions.
    • Has 63% better peak performance for dynamic content.


    These are hard numbers and 100% FACTS! There are several more where these came from.

    Who do you think we professionals trust more?
    Reliable companies with tried and tested products, or that bedroom coder Thorwalds who publicly admits that he is in fact A HACKER???

    --
    Copyright (c) 2004 Mike Bouma, MCSE, MCDST, MS Office Specialist

    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.2
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
    Texts. A copy of the license is included in the section entitled "GNU
    Free Documentation License".
  6. Re:Trig functions... by Anonymous Coward · · Score: -1, Troll

    Because they weren't coded by hippies, Jews, and niggers.

  7. Re:About the Python performance by velco · · Score: 0, Troll
    Writing the whole program in C or C++ is a premature optimization.

    Your comment strongly resembles premature ejaculation.

    ~velco
  8. Re:Trig functions... by Anonymous Coward · · Score: -1, Troll

    " If more people would use the SWT libraries (part of the Eclipse project) instead of the crappy AWT/Swing libraries, then this misconception would go away."

    Bah Microsoft did basically this on Windows and Sun crushed that effort.* How long before the same happends to Eclipse? I don't trust Sun enough to go with a kludge in the middle that may be taken away by Sun any day now.

    *Before you complain about what you preceive to be my unfairly describing the situation with Java under Windows remeber that Sun has given every competitor a less than warm response. This is the main reason why Java should be a free standard (like ANSI C) and not Sun's baby that is also a standard.

  9. Perl is dying by Anonymous Coward · · Score: -1, Troll

    Python is the scripting language of the future, most likely. Perl had its time but its being surpassed by languages that are much easier to code in (really, just like Perl replaced Awk.)