From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 2003-08-08 16:40:15 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!freenix!proxad.net!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Message-ID: <3F3434D7.D8FEDE24@ntlworld.com> From: "Dr. David Kirkby" X-Mailer: Mozilla 4.8 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.hp.hpux,comp.unix.tru64,comp.sys.dec,comp.unix.solaris,comp.sys.sgi.admin,comp.unix.aix Subject: Re: Free UNIX for non-commerical use. References: <3F233C74.4F4C3BAB@ntlworld.com> <3F3400B7.C644FA19@ntlworld.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Sat, 09 Aug 2003 00:40:07 +0100 NNTP-Posting-Host: 62.255.96.204 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1060386009 62.255.96.204 (Sat, 09 Aug 2003 00:40:09 BST) NNTP-Posting-Date: Sat, 09 Aug 2003 00:40:09 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.sys.hp.hpux:30234 comp.unix.tru64:10584 comp.sys.dec:16649 comp.unix.solaris:165339 comp.sys.sgi.admin:18979 comp.unix.aix:54561 Peter da Silva wrote: > > In article , > Tony 'Nicoya' Mantler wrote: > > No doubt it would be nice, but it's not always practical to write something > > portably on the first version. > > It's rarely practical to do otherwise, unless you really DO build one to > throw away and actually throw it away. Why? Two reasons: > > 1. Writing portably really works best when it's done from the start. I could not agree more. One really needs to think about the possible issues right from the start - even if you can't resolve all of them. It's much harder to correct the issues later. > 2. Writing portably doesn't just help other people, it helps you, because > the system you first port to is often the next major release of the one > you started with. I could not agree more. By testing your current project on a number of systems, it also teaches you about portability issues that you can use in your next project. I recently learn that doing char foo; is unportable, so won't do that again, unless I'm sure it is okay in the context of using it. You can often do this for free, using resources such as the SourceForge compile farm (for Sourceforge hosted projects) http://sourceforge.net/docman/display_doc.php?docid=762&group_id=1 and the HP test drive (well worth a look) http://www.testdrive.compaq.com/ Other will often test code for you. -- Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7679 6408 Fax: 020 7679 6269 Internal telephone: ext 46408 e-mail davek@medphys.ucl.ac.uk