home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / ada / 2241 < prev    next >
Encoding:
Text File  |  1992-07-30  |  2.9 KB  |  57 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
  3. From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
  4. Subject: Re: Review of "Ada & C++: A Business Case Analysis
  5. Message-ID: <1992Jul30.155950.10725@mksol.dseg.ti.com>
  6. Organization: Texas Instruments Inc
  7. References: <2329@nic.cerf.net> <1992Jul28.213215.25806@fcom.cc.utah.edu> <1992Jul29.074434.21817@lmpsbbs.comm.mot.com> <2408@nic.cerf.net> <1992Jul30.084243.1137@lmpsbbs.comm.mot.com>
  8. Distribution: usa
  9. Date: Thu, 30 Jul 1992 15:59:50 GMT
  10. Lines: 45
  11.  
  12. In <1992Jul30.084243.1137@lmpsbbs.comm.mot.com> davidk@mcil.comm.mot.com (David Kramer) writes:
  13.  
  14. >In article <2408@nic.cerf.net>, jonesm@nic.cerf.net (Matthew Jones) writes:
  15. >|> C (and C++) is not an operating system, real time or other. There are many 
  16. >|> real time operating systems available, usually tied to the hardware
  17. >|> (ie VxWorks or OS9 for the 68k family...). This way seems much more sensible 
  18. >|> to me than the Ada "we can solve everyones real time requirements on
  19. >|> all hardware with one paradigm." 
  20. >If you have something against the Ada implementation you are always free
  21. >to use direct system service calls to the operating system just like
  22. >you do in C. Meanwhile there are projects that have used Ada tasking
  23. >very successfully, and have thereby left the option open to port
  24. >their application to some new super-chip in the future without major
  25. >changes to their application.
  26.  
  27. The tasking model in Ada is incredibly weak.  It is considered to be
  28. the poorest part of the language by most people I know.  I thought
  29. this was one of the things that Ada9X was addressing.
  30.  
  31. >But the main point I wanted to make is that currently you can't implement
  32. >a distributed C++ application (whether real-time or not) with the compilers 
  33. >of today without significant effort.
  34.  
  35. You can't do it in Ada, either, unless your OS environment and
  36. compiler support things for you.  This is hardly guaranteed.  There's
  37. sure a lot of distributed environment C code out there.
  38.  
  39. >|>                                  Also you might consider that many
  40. >|> people have found the Ada tasking model to be implemented very 
  41. >|> poorly by the Ada vendors.
  42. >This is very unfortunate. However, there are vendors that *have* implemented 
  43. >tasking properly. When purchasing any item you have to be sure to buy the 
  44. >product that satisfies your requirements. Ada compilers are no
  45. >different.
  46.  
  47. From what I understand, this is not just an implementation problem.
  48. The whole Ada tasking model is inadequate for most uses, even if
  49. implemented 'properly'.  The problem is with the language
  50. specification itself, not with certain compiler implementations of it. 
  51.  
  52. -- 
  53. "Insisting on perfect safety is for people who don't have the balls to live
  54.  in the real world."   -- Mary Shafer, NASA Ames Dryden
  55. ------------------------------------------------------------------------------
  56. Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
  57.