home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16766 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.9 KB  |  70 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!tessa!norwest
  3. From: norwest@tessa (norwest)
  4. Subject: Re: Info on IBM compatible C/C++ compiler needed!
  5. Message-ID: <1992Nov23.145604.28780@news.uiowa.edu>
  6. Sender: news@news.uiowa.edu (News)
  7. Date: Mon, 23 Nov 1992 14:56:04 GMT
  8. References: <720988601snx@trmphrst.demon.co.uk> <BxJ8tG.BEr@iat.holonet.net>
  9. Nntp-Posting-Host: tessa.iaf.uiowa.edu
  10. Organization: University of Iowa, Image Analysis Facility
  11. Lines: 57
  12.  
  13. In article <BxJ8tG.BEr@iat.holonet.net> rkinder@iat.holonet.net (Robert J. Kinder) writes:
  14. >On the subject of IBM PC compatible C++ compilers...
  15. >
  16. >Check out the Glockenspiel C++ *preprocessor*, it's a front-end C++
  17. >preprocessor for the native C compiler on your local system.  It's
  18. >available for VAX, UNIX, OS/2, MS-DOS, and others.  
  19. >
  20. >It's available from ImageSoft in Port Haven, NY.  Call 1-800 directory
  21. >assistance.  Ask about CommonView, a portable GUI C++ interface library.
  22. >
  23. >-- 
  24. >// rkinder@holonet.net            International Software Solutions, Inc.  -
  25. >// Robert J. Kinder, Jr.                             Boca Raton, Florida  -
  26. >//                                                        1-800-788-4774  -
  27. >//                    "No thanks!  I have a radio."
  28.  
  29.  
  30. We use the glockenspiel C++ preprocesser, In my opinion it and Commonvu
  31. are not the way to go if you want to do any serious development.
  32. Since the C++ preprocessor relies on the C compiler you get all sorts
  33. of nasty problems with the C compiler limitations, and the fact that
  34. you are only getting a preprocessor.  For example
  35. on the os2 1.3 version of Glockenspiel, the preprocessor will generate
  36. a new block for every variable in a function, the IBM C compiler usually
  37. chokes after x number of blocks, and the only solution is to put blocks
  38. around every line of code.
  39.  
  40.     Also if it matters, Zortech C++ for OS2 1.3 produces code that
  41. runs usually at least twice as fast.
  42.  
  43.     Compile times are absolutely horrendous, 2x - 4x longer than
  44. Zortech, and IBM's C++ ( xlC ) on AIX.
  45.  
  46.     Debugging absolutely sucks, there are no debuggers that
  47.         demangle Glockenspeil name mangling, you are stuck
  48.         debugging the C output.
  49.  
  50. About commonvu,
  51.     The big things to worry about are:
  52.     1) no way to access command line arguments.
  53.     2) The Motif version is stuck at release 2.0 levels while 
  54.         the PC world is at 3.0+
  55.     3) There is no working converter between PM resource files to
  56.         Motif uil resources. ( I ended up writing one ).
  57.  
  58. Anyway,
  59.     The mistake Norwest made in choosing Glockenspiel is that they
  60. based the decision on the idea that it is best to use the same compiler 
  61. on os2, windows, AIX. I'd suggest a better approach is to not worry about 
  62. the compiler brand, but to get the best compiler for the OS you have, 
  63. and write portable source.
  64.  
  65. It is just my opinion, and i'm sure that there are lots of people
  66. who will disagree with me.
  67.  
  68. Alex.
  69.  
  70.