home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / reviews / software / programmer / dice3.0 < prev    next >
Internet Message Format  |  1994-05-17  |  22KB

  1. Path: news.uh.edu!barrett
  2. From: alien@acheron.amigans.gen.nz (Ross Smith)
  3. Newsgroups: comp.sys.amiga.reviews
  4. Subject: REVIEW: DICE C compiler, version 3.0
  5. Followup-To: comp.sys.amiga.programmer
  6. Date: 13 May 1994 18:29:44 GMT
  7. Organization: The Amiga Online Review Column - ed. Daniel Barrett
  8. Lines: 462
  9. Sender: amiga-reviews@math.uh.edu (comp.sys.amiga.reviews moderator)
  10. Distribution: world
  11. Message-ID: <2r0guo$da0@masala.cc.uh.edu>
  12. Reply-To: alien@acheron.amigans.gen.nz (Ross Smith)
  13. NNTP-Posting-Host: karazm.math.uh.edu
  14. Keywords: programming, C, compiler, commercial
  15. Originator: barrett@karazm.math.uh.edu
  16.  
  17.  
  18. PRODUCT NAME
  19.  
  20.     DICE 3.0
  21.  
  22.  
  23. BRIEF DESCRIPTION
  24.  
  25.     C compiler and integrated development environment for the Amiga.
  26.  
  27.  
  28. AUTHOR/COMPANY INFORMATION
  29.  
  30.     Name:        Obvious Implementations Corporation
  31.     Address:    PO Box 4487
  32.             Cary, NC 27519-4487
  33.             USA
  34.     Telephone:    (800) 761-2042
  35.     E-mail:        info@oic.com
  36.  
  37.  
  38. LIST PRICE
  39.  
  40.     Standard purchase price:                  $150.00 (US)
  41.     Student price:                            $95.00 (US)
  42.     For SAS C owners:                         $95.00 (US)
  43.     For registered owners of DICE shareware:  $75.00 (US)
  44.  
  45.     Currently, DICE 3.0 is available directly from OIC only; it is not
  46. distributed through any other source.  It can be ordered by mail from the
  47. address above or by calling the 800 number if you have a Visa card.  (Never
  48. send your credit card number to anyone by email!  There are too many people
  49. who could read it along the way.)
  50.  
  51.     The shareware version of DICE is no longer available.  See below
  52. concerning the freeware version.
  53.  
  54.  
  55. SPECIAL HARDWARE AND SOFTWARE REQUIREMENTS
  56.  
  57.     HARDWARE
  58.  
  59.         Requires 1 MB RAM.
  60.         (DICE 3.0 uses 1.5 to 8 MB; see "Installation").
  61.         Hard drive recommended but not required.
  62.         No CPU restrictions.
  63.  
  64.     SOFTWARE
  65.  
  66.         Requires AmigaDOS 1.3 or better.
  67.         Works fine under AmigaDOS version 2 and 3.
  68.         A few features require AmigaDOS 2.0 or better.
  69.  
  70.  
  71. COPY PROTECTION
  72.  
  73.     None.
  74.  
  75.  
  76. MACHINE USED FOR TESTING
  77.  
  78.     Model:             Amiga 2000HD
  79.     Processors:        25 MHz 68030 CPU, 68882 FPU
  80.     Chipset:           PAL ECS
  81.     RAM:               5 MB (1 MB Chip, 4 MB Fast)
  82.     Hard drive:        Quantum 50 MB internal SCSI
  83.     Floppy drive:      One internal 880K
  84.     Monitor:           Commodore 1084S
  85.     Operating system:  3.0 Beta (Kickstart 39.106, Workbench 39.29)
  86.  
  87.  
  88. INSTALLATION
  89.  
  90.     DICE 3.0 comes on five disks.  Installation is done by the Commodore
  91. Installer program.  There are three Installer scripts with icons on Disk 1 of
  92. the distribution.  One installs DICE on your hard drive, a second installs
  93. it on floppy disks, and the third creates the freeware version (see below).
  94.  
  95.     The hard drive installation works perfectly.  It offers an
  96. assortment of options -- whether to install the 1.3, 2.0, and/or 3.0 header
  97. files and link libraries; whether to include all, none, or a selected subset
  98. of the examples; which editor to install; and so on.  Anything not selected
  99. in the initial installation can be added later; an option in the Installer
  100. script allows the addition of selected modules to an existing installation.
  101.  
  102.     Unlike some badly-written installers, DICE's installation process
  103. is very careful never to change or replace any existing files without
  104. explaining exactly what it's going to do and waiting for permission.
  105.  
  106.     Depending on which options you select, DICE can take up anywhere
  107. from 1.5 to 8 megabytes of hard drive space.  Mine took up 4.7 megs, which
  108. is probably a fairly typical amount; few users are likely to need the full 8
  109. megs (which assumes, for example, that you install all three complete sets of
  110. includes and libraries).  Incidentally, although the installer and the
  111. manual refer to "3.0", the include files actually supplied are version 3.1.
  112.  
  113.     The freeware DICE is a freely distributable version of the compiler
  114. with floating point support and some Amiga-specific features disabled, but
  115. otherwise a perfectly good C compiler.  Users are encouraged to distribute
  116. the freeware version, which consists of the compiler, link libraries,
  117. standard C include files, and the relevant documentation -- no editor or any
  118. other tools (though DME can be found on a Fred Fish disk).
  119.  
  120.     The freeware version Installer script attempts to install DICE onto a
  121. single floppy, which doesn't work -- it's about 1.3 megs and needs two (I
  122. guess they must have tested it on an Amiga 4000 with high density 1.76 MB
  123. drives and forgot that most Amigas only have 880K drives).  This is easy to
  124. get around if you're running the installation on an Amiga with a hard drive:
  125. just create a drawer on your hard drive and assign "Freeware_Dice:" to it
  126. before you start.  (You'll still need a spare floppy for the install script
  127. to format, though.)  Afterwards, you can split the installed files between
  128. two floppies.  You can't run the freeware installation on a floppy-only
  129. system.
  130.  
  131.  
  132. COMPILER
  133.  
  134.     The actual compiler is changed little from the shareware version of
  135. DICE, apart from a few enhancements (mostly related to the VMAKE interface
  136. -- see below) and bug fixes.  Anyone familiar with the shareware DICE will
  137. find no surprises here.
  138.  
  139.     The compiler was designed with quick and reliable code generation as
  140. the primary goal, with optimisation secondary.  That's not to say DICE does
  141. no optimisation; it doesn't do the kind of aggressive optimisation
  142. performed by GCC or SAS C, but it produces perfectly good code for all but
  143. the most demanding cases (where most programmers would probably switch to
  144. assembly language anyway).
  145.  
  146.     The DICE compiler, DCC, is almost entirely conformant to the
  147. ANSI/ISO C standard, which is only to be expected these days.  There are a
  148. very few features and functions omitted, such as the atan2() function, and a
  149. large number of enhancements.
  150.  
  151.     Compiler features include precompiled header files, automatic
  152. generation of function prototypes, profiling (a special set of link
  153. libraries that allow you to keep track of exactly how much run time each
  154. part of your program is taking up), and a "typeof" operator.
  155.  
  156.     Most of the enhancements, of course, are related to writing
  157. Amiga-specific code.  These include automatic opening and closing of shared
  158. libraries; the "__chip" type qualifier to force data into Chip RAM; dynamic
  159. stack checking (which automatically gives your program more stack space when
  160. it runs short); the "wbmain()" function (giving a program different entry
  161. points depending on whether it was started from the Shell or Workbench);
  162. full control over parameter passing via registers or stack; and an extensive
  163. set of functions that make giving your program an ARexx interface fairly
  164. painless.
  165.  
  166.     The DICE package includes the complete set of include files and
  167. link libraries for Workbench 1.3, 2.0, and 3.0/3.1.
  168.  
  169.  
  170. INTEGRATED DEVELOPMENT ENVIRONMENT
  171.  
  172.     The centrepiece of the whole system is VMAKE, which, as you might
  173. expect from the name, is a visual "make" tool.  It's really an integrated
  174. development environment.  You create a "Project" and tell VMAKE what source
  175. files belong to it.  VMAKE gives you access to the editor of your choice (see
  176. below), compiler, debugger, and help system.  Compiler options are selected
  177. through VOPTS, which is basically a GUI for DCC -- you use the usual
  178. Intuition tools (gadgets, list windows, and so on) to select the compiler
  179. options, link libraries, and so on.  If you select a source file from VMAKE,
  180. the editor is invoked.  Once you've written the source code and set the
  181. compile options, you hit the "Make" button to compile and link everything
  182. that needs it, then pick one of the "Run" options to test it (there are
  183. three options -- CLI, Workbench, or Debugger).
  184.  
  185.     VMAKE knows what to do with individual source files by looking at
  186. their names -- a name ending in ".c" is C code, ".a" is assembler source,
  187. and so on.  It's smart enough to know not to compile a source file that
  188. hasn't changed since the last compile.
  189.  
  190.     If you get compile errors, the editor is automatically brought up
  191. with the cursor positioned on the line containing the first error; when
  192. you've fixed that, you hit Shift-F5 (or whatever alternative key you want to
  193. define) and the cursor is moved to the next error.  The full list of errors
  194. is visible in another window.
  195.  
  196.     VMAKE is highly customisable.  All the ga