-----Original Message-----
From: cctalk-bounces at
classiccmp.org [mailto:cctalk-
bounces at
classiccmp.org] On Behalf Of Fred Cisin
Sent: Wednesday, December 01, 2010 2:18 PM
To: General Discussion: On-Topic and Off-Topic Posts
Subject: Re: what was VMS/OpenVMS written in?
"A REAL programmer can write a FORTRAN program in any language."
Assembly language is necessary if one is to get full optimization of
performance. Many people don't agree with that, and insist that
throwing
more hardware at it is easier, particularly for people in a big hurry.
("The hardware is done. Now you can start writing the OS. You have 6
weeks")
I don't necessarily agree that assembler is required "to get full optimization of
performance" today because of the work that's been done over the past three
decades or so in compiler design. Modern compilers are written to take advantage of every
trick available on the target platform such as load hoisting, redundant load/store
elimination, loop unrolling, conditional execution and the like, over varying code scopes
that aren't apparent across a project of a non-trivial size. Perhaps a really really
good assembly language programmer could produce code a tiny bit faster than a reasonably
well-written compiler could, but at what cost in development time?
I certainly agree that "more hardware - MORE!" is not the solution, which I
think is an important part of the argument you make.
BTW, improvements in compiler technology was an argument I used as a test manager with ${a
large software company} when I told coders in code reviews it wasn't acceptable to
write indecipherable code because "it would be more efficient." Today I use the
intermediate variables I need to make the code's functionality clear (and
maintainable), because I'm confident they'll be optimized away by the compiler.
That's not just opinion - I've tested it. :-) -- Ian