Sunday, September 5, 2010

Numeric Performance in C, C# and Java

By occasion, I find the following draft by Prof. Peter Sestoft:

Numeric Performance in C, C# and Java

He implemented several typical numerical programs in C, C# and Java, and tested their running time.

The conclusion in the paper is that managed code is also performant! Read the paper for the details.

Prof. Sestoft is an expert in compiler design and compiler writing. The draft also contains the generated byte code with his annotations. Enjoy!

Just a note:
Although the C code in the paper is native, it does not take the advantage of the modern CPU design. A fully optimized implementation, which is very hard for normal programmers to write, is faster than the native code. This is why Matlab/Numpy's matrix multiplication is faster than your C code. Matlab uses Intel MKL optimized implementation.

7 comments:

  1. Really interesting content which is unique which provided me the required information.
    Dot Net Training in Chennai | .Net training in Chennai | FITA Training | FITA Velachery .

    ReplyDelete
  2. Awesome Post! I like writing style, how you describing the topics throughout the post. I hope many web reader will keep reading your post at the end, Thanks for sharing your view.
    Regards,
    FITA Chennai complaints|Python Training in Chennai|SAS Training in Chennai

    ReplyDelete
  3. i learned these software languages ,but i need more explanation about thus it is really useful thanks for sharing those information.

    php Training in Chennai

    ReplyDelete
  4. Hindi and English medium both. Students can read free mppsc notes for their exam preparation they can also download notes from our website.

    ReplyDelete
  5. Kya aap bhi apna partner ko stasify nhi kare paate hain toh aaj mein aapko time badhane wale condom kaun se hain unke baare mein btaunga jiske istmaal se kaffi lambe time se aap apni sex karne ki timing increase kare sakte hain

    ReplyDelete