home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / applicat / 9559 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rutgers!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Is SAS C V6 C++ compatible
  5. Message-ID: <BzM4KA.BHx@unx.sas.com>
  6. Date: 21 Dec 92 14:07:22 GMT
  7. References: <1992Dec16.110011.14228@nntpd.lkg.dec.com> <1992Dec17.090233.26443@sunbim.be> <DAVIDM.92Dec18180911@consilium.com>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 35
  11. Originator: walker@twix.unx.sas.com
  12. Nntp-Posting-Host: twix.unx.sas.com
  13.  
  14.  
  15. In article <DAVIDM.92Dec18180911@consilium.com>, davidm@consilium.com (David S. Masterson) writes:
  16. |> Since the optimizer that a C++ to C translator is dependent on is the one in
  17. |> the C compiler, optimizations based on the C++ use of temporaries, const'ness
  18. |> of C++ objects, etc. would be impossible (correct?).  Therefore, a C++ to C
  19. |> translator would not produce as efficient code as a native C++ compiler (or so
  20.  
  21. I don't agree with this statement.  One of GO's main roles is figuring out
  22. the lifetimes of variables, temporary or not.  This can certainly be worked
  23. around.
  24.  
  25. |> I'll be happy if the implementation of C++ matches the draft standard that is
  26. |> being worked on.  I think C++ could be a good language for the Amiga provided
  27. |> the implementation is a good one.  What is most needed in the implementation
  28. |> of C++ (on any system) is the exception handling capability.  Until compiler
  29. |> writers start putting out C++ with that capability, the market for vendors of
  30. |> reusable components will be hampered as exception handling *will* completely
  31. |> change the style in which objects are developed.
  32.  
  33. Until the exception-handling is defined a little better, no compiler vendor
  34. will be able to produce a version with any assurance that it will remain
  35. compliant in the future.  True, exception handling will change the style
  36. in which objects are developed;  this makes it even more important not
  37. to make the wrong change!
  38.  
  39. |> David Masterson                    Consilium, Inc.
  40.  
  41. -- 
  42.   *****
  43. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  44.  *|. o.| ||                                          1200/2400/9600 Dual
  45.   | o  |//     For all you do, this bug's for you!
  46.   ====== 
  47. usenet: walker@unx.sas.com                            bix: djwalker 
  48. Any opinions expressed are mine, not those of SAS Institute, Inc.
  49.