Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!uupsi!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.advocacy Subject: Re: 8-bit death Message-ID: <1991May25.121511.24184@sugar.hackercorp.com> Date: 25 May 91 12:15:11 GMT References: <3760.tnews@templar.actrix.gen.nz> <1991May18.105916.28180@sugar.hackercorp.com> Organization: Sugar Land Unix -- Houston, TX Lines: 23 In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: > Assembler language programmers have been porting to other CPUs for > years by writing translators that work on the source level. Ends > up being as little work as porting a 'C' program (even between > different compilers on the SAME machine). I don't know. I generally port C programs by typing "cc". Of course I write to be portable in the first place. You can write non-portable code in any language... but why? > And it doesn't matter if > you call BlitBitMap(), because you won't find it on any other platform... I don't call BlitBitMap(). I call "DisplayImage" and hide the machine dependencies in there. Working the other way, I don't call "stat" I call "is_executable", and then the Amiga version of is_executable can call "Examine". And I'm not the only one. There's a huge library of good, portable code out there on the net so it must be possible. -- Peter da Silva. `-_-' .