home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19188 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  2.7 KB

  1. Path: sparky!uunet!decwrl!waikato.ac.nz!comp.vuw.ac.nz!acheron.amigans.gen.nz!alien
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: ** FINALLY - AN _GREAT_ AMIGA PROGRAMMING LANUAGE
  4. Message-ID: <alien.02q1@acheron.amigans.gen.nz>
  5. From: alien@acheron.amigans.gen.nz (Ross Smith)
  6. Date: 22 Jan 93 22:07:20 GMT+12
  7. References: <thecure.727159005@munagin>
  8. Distribution: world
  9. Organization: Muppet Labs
  10. Lines: 53
  11.  
  12. In article <thecure.727159005@munagin> thecure@mullian.ee.mu.OZ.AU (matthew aardvarkious) writes:
  13. >I _strongly_ suggest you should all at least _try_ to get amigae21.lha
  14.  
  15. Two questions spring to mind:
  16.    (1) Is it available from any ftp-by-mail site? (for those of us who don't
  17.        have access to real ftp)
  18.    (2) How big is it? (for those of us who have to pay big buck$ for email)
  19.  
  20. >Easy! - The other incredible thing about it is the _speed_
  21. >
  22. >- Compilation speed of 10.000 to 35.000 lines/minute on a 7mhz Amiga 500,
  23. >  25.000 to 85.000 l/m on a 14mhz Amiga 1200 (both _without_ fastram)
  24.  
  25. 85 lines a minute? Fast?!
  26.  
  27. >It also caters specifically to common amiga programming, like this.
  28. >
  29. >w:=OpenW(20,11,400,100,$200,$F,'My first window in E!',NIL,1,NIL)
  30.  
  31. Huh? In what way is this an improvement on the corresponding C code?
  32.  
  33.    /* with some guesswork about what your parameters mean... */
  34.    win_ptr = OpenWindowTags(NULL,
  35.                WA_Left,        20,
  36.                WA_Top,         11,
  37.                WA_Width,       400,
  38.                WA_Height,      100,
  39.                WA_CloseGadget, TRUE,
  40.                WA_DepthGadget, TRUE,
  41.                WA_DragBar,     TRUE,
  42.                WA_SizeGadget,  TRUE,
  43.                WA_IDCMP,       IDCMP_CLOSEWINDOW,
  44.                WA_Title,       "The same window in C?",
  45.                TAG_DONE);
  46.  
  47. I think the C version is clearer, since the tags make it obvious what each
  48. of the parameters mean, whereas figuring out what the parameters on your
  49. function call meant took some educated guesses plus a hunting & fishing
  50. expedition into the include files...
  51.  
  52. >Easy window stuff. Add the fact that dos/exec/intuition/graphic libraries
  53. >are built into the compiler and you don't have to worry about libraries, etc
  54. >-or- closing anything (all handled) means it adds up to a wild programme.
  55.  
  56. Most (all?) Amiga C compilers now include automatic library opening and
  57. closing. And what happens when you need libraries other than those four?
  58.  
  59. --
  60. ...... Ross Smith (Wanganui, NZ) ...... alien@acheron.amigans.gen.nz ......
  61. "I blame you for the moonlit sky and the dream that died with the Eagle's flight
  62. I blame you for the moonlit nights when I wonder why are the seas still dry
  63. Don't blame me, sleeping satellite"                              (Tasmin Archer)
  64. --
  65.