home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / sys / amiga / demos / 1564 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.4 KB  |  49 lines

  1. Newsgroups: alt.sys.amiga.demos
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!dhhalden.no!pc250.dhhalden.no!njale
  3. From: njale@dhhalden.no (NJAL EIDE)
  4. Subject: Re: Phenomena egos??
  5. Message-ID: <njale.29.721568722@dhhalden.no>
  6. Lines: 36
  7. Sender: news@dhhalden.no (Network News User)
  8. Nntp-Posting-Host: pc250
  9. Organization: Ostfold College
  10. 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>
  11. Date: Thu, 12 Nov 1992 11:45:22 GMT
  12.  
  13. In article <1945@lysator.liu.se> marvil@lysator.liu.se (Martin Vilcans) writes:
  14. >keith@cco.caltech.edu (Keith Allan Schneider) writes:
  15. >
  16. >>Once you realize that portability and not size and speed optimization
  17. >>is the emphasis, you will see why no one really bothers to write
  18. >>demos anymore.  Again, what is the use writing such a thing (other
  19. >>than to practice your machine code on a single machine) when it will
  20. >>be useless in but a few years?
  21. >>Basically, the reason that there aren't many demos being written (here
  22. >>at least) is the same reason why fewer people are bothering to learn
  23. >>machine code.  I knew the machine language for my Commodore 64, but
  24. >>I never bothered to learn it on my Amiga 3000.  I just didn't see any
  25. >>point.  For most if not all of the things I am doing, C is quite
  26. >>fast enough.  I also realize, writing in C, that my program will be
  27. >>useful for years to come, no matter what machine I happen to own at the
  28. >>time.
  29. >
  30. >Just writing programs in C doesn't make them portable to newer
  31. >machines. C programmers can do the very same mistakes as assembler
  32. >programmers. The only difference in portability between C and assembler is
  33. >that C programs sometimes can be ported to a machine with a different
  34. >processor, but since we're talking Amiga, that's off subject.
  35. >
  36. Sorry, but you are wrong. Pure C programs are much more portable. You will 
  37. at worst have to recompile with a newer compiler (if your old compiler 
  38. generates code that doesn't follow Commodores programming guidelines.) 
  39. Anyway your source-code would still be the same.
  40.  
  41. As for porting C programs to other machines, that is a breeze if your not 
  42. going to use any GUI-specific features (just re-compile). Otherwise you 
  43. would have to rewrite quite a bit, but it's still far less work than re-
  44. writing the hole program in assembly.
  45.  
  46.  
  47.  
  48. Njaal Eide -ODH Halden
  49.