On Tuesday 09 May 2006 2:45 am, Per Jessen wrote:
I used to do some C++, but in my most recent job as a software engineer, I was hired to help migrate a product away from C++ - to assembler. This was on S390.
This was a very bad decision. It makes the code totally non-portable, and difficult to maintain. I am the first to admit that C++ code can be a performance hog, especially if you are using a lot of templates and RTTI. In general, a C++ program is going to be much more readable and maintainable than C or assembler. (That is assuming that the programmers did a decent job). Not only is assembler non-portable, it is 100% cryptic (Note that I have written assembler for DEC PDPs, Alphas, Intel IA64) but also it can be locked onto a specific model. If you use instructions specific to the S390, that code may not run on earlier IBM platforms.