Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Richard B. Gilbert" <rgilbert88@comcast.net>
Subject: Re: System Programming Resources for Alpha Architecture
Date: Sat, 29 Mar 2008 13:17:42 -0400	[thread overview]
Message-ID: <47EE79B6.5060303@comcast.net> (raw)
In-Reply-To: ca77d9be-57fd-448c-a832-c0e608bbb4d5@a70g2000hsh.googlegroups.com

Neil Rieck wrote:
> On Mar 29, 10:00 am, hel...@astro.multiCLOTHESvax.de (Phillip Helbig---
> remove CLOTHES to reply) wrote:
> 
>>In article
>><f9d866e9-0876-40c3-ac1e-1c74220d1...@k13g2000hse.googlegroups.com>,
>>
>>Neil Rieck <n.ri...@sympatico.ca> writes:
>>
>>>On Mar 27, 3:02=A0pm, The-G...@hotmail.com wrote:
>>>
>>>>Does anyone know of any good resources for System Programming / OS
>>>>Development / OS Porting to Alpha Architecture? =A0Books, ebooks, or
>>>>sites online would be a big help. =A0Thanks in advance!
>>>
>>>>James T. Sprinkle (The Grue)http://www.myspace.com/jamestsprinkle
>>>
>>>I'm not sure what you are trying to do, but I've found that it is not
>>>a good idea to get too machine specific. Properly written VAX
>>>applications will almost always compile and run on Alpha and Itanium.
>>
>>Indeed.  However, if he needs to "port", then he probably has an
>>application which is NOT written properly, i.e. contains assumptions
>>which are valid for VAX but not for ALPHA.  Often sticking to the
>>language standard will solve some of these problems, but having the
>>compiler flag non-standard stuff which might be dangerous (when the code
>>runs on another platform) will also flag non-standard stuff which might
>>be required (e.g. DEC-specific extensions).
> 
> 
> Agreed. About 5 years back while I was porting some code from VAX to
> Alpha, I ran into a bunch of custom DEC-C functions which were mapped
> onto VAX instructions. A very clever programmer was able to squeeze a
> few more drops of performance out of an underpowered VAX box, and he
> probably received a cool bonus for pulling this off, but he should not
> have done this.
>

Of course he should have done it!  It's what he was paid to do.  It 
justifies his existence!

Clearly, he failed to document it well enough to satisfy you but if I 
had a dollar for every programmer who under documents his work, I'd be 
traveling in a chauffeur driven Rolls-Royce!!!  Documentation usually 
happens ONLY when someone MAKES it happen!

The usual procedure is "get the code out the door and to hell with the 
documentation".  That's when you get the documentation from hell!  Or no 
documentation!


> Worse still, here I was using my low level VAX machine language skills
> to decode what was happening in "C". In five years more time, there
> might not have been anyone around with the skills to do this kind of
> port.

I'm available!  I hope to remain available for a few more years!

> So the key here is to avoid, whenever possible, architecture
> specific code leaving the bulk of those decisions to the system calls.
> If you must insert architecture specific code, make sure it is
> disabled with complier lexicals and includes lots of source-code
> remarks.
> 
> NSR
> 




  reply	other threads:[~2008-03-29 17:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 19:02 System Programming Resources for Alpha Architecture The-Grue
2008-03-27 21:08 ` John Wallace
2008-04-01 11:29   ` Keith Cayemberg
2008-04-06  3:59     ` mattst88
2008-04-06  4:54       ` Tom Linden
2008-04-06 20:32         ` mattst88
2008-04-06 21:05           ` John Wallace
2008-04-06 21:13           ` John Wallace
2008-04-07 13:47           ` Tom Linden
2008-04-08  3:27             ` Jeremy Begg
2008-04-08  4:57               ` Tom Linden
2008-04-09 20:23                 ` Maciej W. Rozycki
2008-04-10  1:10                   ` Tom Linden
2008-04-10  6:46                     ` Michael Kraemer
2008-04-10 12:41                       ` Tom Linden
2008-04-13  2:12                       ` Arne Vajhøj
2008-04-10 18:14                     ` Maciej W. Rozycki
2008-04-10 13:30                 ` Bob Koehler
2008-04-10 13:19                   ` Richard B. Gilbert
2008-03-27 21:34 ` Tom Linden
2008-03-29 12:10 ` Neil Rieck
2008-03-29 14:00   ` Phillip Helbig---remove CLOTHES to reply
2008-03-29 16:29     ` Neil Rieck
2008-03-29 17:17       ` Richard B. Gilbert [this message]
2008-04-13  2:08         ` Arne Vajhøj
2008-04-13  3:16           ` Richard B. Gilbert
2008-04-13  4:12           ` JF Mezei
2008-04-13 16:46             ` Arne Vajhøj
2008-03-29 18:29     ` JF Mezei
2008-03-30  0:22   ` Maciej W. Rozycki
2008-03-30 10:26     ` John Wallace
2008-03-31 20:47       ` The-Grue
2008-03-31 22:27         ` johnwallace4
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox