home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!dhhalden.no!pc250.dhhalden.no!njale
- From: njale@dhhalden.no (NJAL EIDE)
- Subject: Re: Phenomena egos??
- Message-ID: <njale.29.721568722@dhhalden.no>
- Lines: 36
- Sender: news@dhhalden.no (Network News User)
- Nntp-Posting-Host: pc250
- Organization: Ostfold College
- References: <1992Nov6.093758.20621@lth.se> <1992Nov7.044209.25592@ringer.cs.utsa.edu> <1dg7r7INNjil@gap.caltech.edu> <1992Nov7.203516.9849@ringer.cs.utsa.edu> <1dhp99INNqn5@gap.caltech.edu> <1945@lysator.liu.se>
- Date: Thu, 12 Nov 1992 11:45:22 GMT
-
- In article <1945@lysator.liu.se> marvil@lysator.liu.se (Martin Vilcans) writes:
- >keith@cco.caltech.edu (Keith Allan Schneider) writes:
- >
- >>Once you realize that portability and not size and speed optimization
- >>is the emphasis, you will see why no one really bothers to write
- >>demos anymore. Again, what is the use writing such a thing (other
- >>than to practice your machine code on a single machine) when it will
- >>be useless in but a few years?
- >>Basically, the reason that there aren't many demos being written (here
- >>at least) is the same reason why fewer people are bothering to learn
- >>machine code. I knew the machine language for my Commodore 64, but
- >>I never bothered to learn it on my Amiga 3000. I just didn't see any
- >>point. For most if not all of the things I am doing, C is quite
- >>fast enough. I also realize, writing in C, that my program will be
- >>useful for years to come, no matter what machine I happen to own at the
- >>time.
- >
- >Just writing programs in C doesn't make them portable to newer
- >machines. C programmers can do the very same mistakes as assembler
- >programmers. The only difference in portability between C and assembler is
- >that C programs sometimes can be ported to a machine with a different
- >processor, but since we're talking Amiga, that's off subject.
- >
- Sorry, but you are wrong. Pure C programs are much more portable. You will
- at worst have to recompile with a newer compiler (if your old compiler
- generates code that doesn't follow Commodores programming guidelines.)
- Anyway your source-code would still be the same.
-
- As for porting C programs to other machines, that is a breeze if your not
- going to use any GUI-specific features (just re-compile). Otherwise you
- would have to rewrite quite a bit, but it's still far less work than re-
- writing the hole program in assembly.
-
-
-
- Njaal Eide -ODH Halden
-