home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2468 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!linac!att!ucbvax!ROO.FIT.EDU!SAHARBAUGH
  2. From: SAHARBAUGH@ROO.FIT.EDU
  3. Newsgroups: comp.lang.ada
  4. Subject: Only 20K expressions, I'm shocked!
  5. Message-ID: <9208280220.AA24277@ajpo.sei.cmu.edu>
  6. Date: 28 Aug 92 02:16:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 34
  11.  
  12. James Vera writes:
  13. >The problem is not the case statement, per se.  Instead the problem is
  14. >that Verdix has a hard limit on the number of expressions which can
  15. >occur in a subprogram.  The limit is something like 20,000
  16. >expressions.
  17.  
  18. >To get around this bug, you need to break the offending subprogram
  19. >into multiple subprograms.  This, of course, is a pain in the but when
  20. >the subprogram is generated automagicly but gee, you don't expect >your
  21. >Ada compiler to compile valid Ada code, do you?
  22.  
  23.    Is this a typo? 20K expressions must be about
  24. 5 boxes of cards (2000 per box as I remember).  Does
  25. your computer center allow you to submit jobs
  26. that big?  You know the chances of the operator
  27. dropping some of those or mixing them up is very
  28. high.  Here's a helpful hint:  Various color
  29. cards are useful for partitioning the subprogram.
  30. I used to use yellow for data, red for code
  31. and green for system statements, except that the
  32. job card was plain, with the school logo on it.
  33. I then took marker pen and marked the edges with
  34. the name of program segments in large letters.
  35. Of course that was the early 60's.  A fellow
  36. student also carried big decks of cards around
  37. and mumbled something about modularity.  His
  38. name was Dave Parnas but neither he nor I
  39. was ever able to achieve a 10K card subprogram,
  40. Wow!  I bet that our old 20 GATE or IPL V
  41. compilers wouldn't have handled that either. 
  42. I therefore conclude that very little progress
  43. has been made on the compiler front since 1964.
  44. sam harbaugh
  45. --- p.s. I have really enjoyed writing this.
  46.