home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / iamiga / 10541 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  5.2 KB

  1. Path: sparky!uunet!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!zikzak.apana.org.au!zikzak.apana.org.au!not-for-mail
  2. From: darren@zikzak.apana.org.au (Darren Brett Gower)
  3. Newsgroups: bit.listserv.i-amiga
  4. Subject: Re: Lattice upgrade (LONG!)
  5. Date: 22 Jan 1993 02:28:44 +1100
  6. Organization: Zikzak public access UNIX, Melbourne Australia
  7. Lines: 115
  8. Message-ID: <1jmffcINN4f5@zikzak.apana.org.au>
  9. References: <I-AMIGA%93011911415892@FINHUTC.HUT.FI>
  10. NNTP-Posting-Host: zikzak.apana.org.au
  11.  
  12. Ian BRADLEY <CSHD92IB@VAXA.ANGLIA-POLYTECHNIC.AC.UK> writes:
  13.  
  14. >Hi,
  15.  
  16. >I have lattice C, (SAS C) 5.10, but is it worth #100 to upgrade. The people at
  17. >hisoft thought so, but then they are probably biased. I know about the
  18. >on-line help, but what else is new.
  19. >[...]
  20.  
  21. Ok, firstly the list of whats new (from the 'Whats new' in the manuals):
  22.  
  23. * extensive online help via amigaguide. Describes each utility, CPR, editor,
  24.   library functions, diagnostic message description, compiler options;
  25.  
  26. * EMITS (an electronic mail through internet functionality that allows you
  27.   to report bugs and receive help via Internet mail directly to/from the techs.
  28.   Response generally happens within 24 hrs);
  29.  
  30. * New front end (lc has gone). 'sc' allows compilation of assembly, C and
  31.   object (.o) files all on the one command line. Conversion utils are
  32.   provided for version 5 makefiles and programs;
  33.  
  34. * Full ANSI compatibility (version 5 was not);
  35.  
  36. * 1.3 header files gone - 2.0 ones included (which are backward compat.);
  37.  
  38. * 'sc' loads AmigaDOS resident libraries which do all the jobs of the old
  39.   'lc', 'lc1', 'lc2' and 'go'. This means they stay resident btw compiles
  40.    unless memory is low (speed compiles);
  41.  
  42. * GSTs (these are kinda like the precompiled headers of version 5 but
  43.   MUCH better - they stay resident so don't have to reload unless memory
  44.   is low);
  45.  
  46. * scmsg: (a message browser which is linked to 'sc' and any editer via
  47.   AREXX. It shows compile warns/errors in a window and you click to edit
  48.   directly to the error...);
  49.  
  50. * new optimiser abilities (including peephole optimizer and inlining of
  51.   functions and new global optimizations);
  52.  
  53. * much improved CPR to allow you to use general C structure for control;
  54.  
  55. * new options to get the compiler to add code which automatically extends
  56.   your stack if it becomes low during a run;
  57.  
  58. * ability to produce a listing of which lines of your code were 'hit'
  59.   during a run so you can test all code paths are getting exec'd the
  60.   way you expect during a run;
  61.  
  62. * dynamic adjustment to low memory situations during a compile (it frees
  63.   memory if it needs to);
  64.  
  65. * auto initialisation functions can be called before main(),
  66.   auto termination functions can be called after you exit();
  67.  
  68. * reference to unnamed unions allowed;
  69.  
  70. * new #pragma tagcall for variable parameter stuff;
  71.  
  72. * other stuff ... :-);
  73.  
  74. --- END BLURB (which was not verbatim, but close...) ---
  75.  
  76. Now for my opinion:
  77.  
  78. It's *worth* it! :)
  79.  
  80. The compiler is easier to work with, while keeping the same structure as
  81. you know with version 5. The new messages generated from 'sc' on errors are
  82. much more helpful, and the documentation is first class. The online help is
  83. something I don't _regularly_ use, but when I do it is a damn sight better
  84. than having to try to find the manual page (although with the new design of
  85. the manuals it isn't difficult ...).
  86.  
  87. The editor is a *little* better (it uses a file requestor! :-)) but is pretty
  88. much unchanged.
  89.  
  90. Version 6 in general produces smaller and faster code (for instance a small
  91. program of mine when recomiled  dropped from 9K to about 7.5K, not significant
  92. but helpful none the less).
  93.  
  94. EMITS is *excellent*. I have used it extensively and I have always been
  95. satisfied with the result (I can't say the same for dealing with Sydney
  96. on a few occasions during verison 5, although they were ok I guess).
  97.  
  98. Be warned: If you have a floppy only system, the optimizer can only be used
  99. under 2.0 (not that I would recommend such use anyway!). The system uses
  100. multiple assignments to get the optimizer paths to work. It may work with
  101. a 1.3 hack util that allows multi-assigns, I don't know.
  102.  
  103. Compiler speed (especially when using GST's) is *unbelievable* compared to
  104. previous versions. Potentially no header files need be loaded after the
  105. first compile, and all temporary files are *memory resident* if
  106. system memory permits. This *greatly* speeds compiles.
  107.  
  108. As a general rule (I've mentioned memory a lot) I'd reckon about 2meg+
  109. would be optimal, 1meg beneficial and 512K <blows rasberry>. The more the
  110. better though (I have a flare for the obvious 8-)).
  111.  
  112. Overall - it's a *very* worthwhile investment.
  113.  
  114. regards,
  115. Darren.
  116. BTW: I am in no way affiliated with SAS or its subsiduaries. I *am*
  117. a happy SAS customer....
  118. -- 
  119. +----------------------------+------------------------------------------+
  120. | Darren Gower               | "I'd be careful who you call smart or    |
  121. | - The Executioner          |  not smart.  Smart isn't knowing how to  |
  122. | darren@zikzak.apana.org.au |  save six bytes.  Smart is knowing WHEN."|
  123. |                            | - Peter Cherna,                          |
  124. | Zikzak public access UNIX, |  Operating Systems Development Group,    |
  125. | Melbourne, Australia.      |  Commodore-Amiga, Inc.                   |
  126. +----------------------------+------------------------------------------+
  127.