Re: For performance, write it in C - Part 2, comparing C, Ruby and Java



Peter Hickman wrote:
There you have it, C is still faster by an order of magnitude. Performance is yours for the asking, but it comes at a price - you have to write it in C. Ease of development also comes at a price, you don't get the same performance as C. Of course if you have a fear of C this does show that you can go some of the way by converting to Java, if that is fast enough for you then well and good but know this, C is faster.
In my younger days, I did a lot of development in assembler languages, and for many years my main high-level language was FORTRAN. Towards the end of my FORTRAN days (about 1990) I was still dropping into assembler for speed, even though the (FORTRAN) compilers were quite good by that time. C compilers really sucked, especially for numerical applications.

Now here's where I'm going to put on my asbestos suit. I think the difficulty of C development is *vastly* exaggerated by the fans of "dynamic/scripting/interpreted" languages! In addition, I think the difficulty of *assembler* development is vastly exaggerated, except in bizarre architectures. (Of course, x86 does border on bizarre, until you get to 64-bit addressing). :)

So what is the source of "fear of C?"

.



Relevant Pages

  • Re: i am new to java
    ... >>> It is certainly easier than Fortran, COBOL, C, APL, any Assembler, ... I think Fortran is too but I'm not sure. ... > Have you learned any other programming languages that you think are ... Java isn't a particularly difficult language. ...
    (comp.lang.java.help)
  • Re: Public disclosure of discovered vulnerabilities
    ... Fortran IV was frequently called "The Universal ... > Assembler." ... Fortran IV was in fact one of the many languages ... those cannot do (without extensions). ...
    (sci.crypt)
  • Re: What languages do you regularly use besides forth?
    ... I'm curious what languages forthers use on regular basis. ... assembler on a number of different processors. ... unstructured Fortran. ... Excel spreadsheets (is that programming?), ...
    (comp.lang.forth)
  • Re: who can crack this?
    ... the price were lower I'd buy the thing. ... Hopefully if and when nextup acquires ... this product I will be able to buy all twelve languages for perhaps ... infovox desktop from them if I'm not mistaken. ...
    (comp.lang.java.programmer)
  • Re: OT: Rob Short: Operating System Evolution
    ... licenses, as opposed to hobbyist licenses, cost a great deal of money. ... would cost me something like $1500-$2000 if I had to pay list price. ... The same obviously cannot be said for things like FORTRAN compiler ... then yes a system-wide licence for e.g. FORTRAN would have cost a lot, ...
    (comp.os.vms)