home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / misc / 3601 < prev    next >
Encoding:
Text File  |  1992-09-09  |  6.1 KB  |  127 lines

  1. Newsgroups: comp.unix.misc
  2. Path: sparky!uunet!gatech!destroyer!caen!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
  3. From: jlg@cochiti.lanl.gov (Jim Giles)
  4. Subject: Re: Giles' (Manual) Mania (getting longuish)
  5. Message-ID: <1992Sep9.192946.27394@newshost.lanl.gov>
  6. Sender: news@newshost.lanl.gov
  7. Organization: Los Alamos National Laboratory
  8. References: <1992Sep4.175637.7676@newshost.lanl.gov> <1992Sep8.025007.24272@eslvcr.wimsey.bc.ca> <1992Sep8.183712.18867@newshost.lanl.gov> <7269@charon.cwi.nl>
  9. Date: Wed, 9 Sep 1992 19:29:46 GMT
  10. Lines: 115
  11.  
  12. In article <7269@charon.cwi.nl>, dik@cwi.nl (Dik T. Winter) writes:
  13. |>  > [...]
  14. |>  > Scope *was* a lot smaller and easier to use than UNIX and provided more
  15. |>  > features in the kernel for the use of hardware capabilities (like 
  16. |>  > asynchronous I/O).
  17. |> Did the PDP-5 provide asynchronous I/O?  [...]
  18.  
  19. Yes, you're quite right, that's why UNIX doesn't have asynchronous
  20. I/O.  It was designed on hardware that didn't have the capability 
  21. and was never *upgraded*.  It is easy to design a perfectly portable 
  22. *interface* in which asynchronous I/O is permitted - even though 
  23. particular hardware can't do it (you simply emulate).  It is very 
  24. difficult to *use* asynchronous I/O if your system's interface
  25. *doesn't* allow it - even when the hardware *does*.
  26.  
  27. |> [...]                                     Asynchronous I/O makes sense
  28. |> only on some processors, and if the manufacturer does his work well he
  29. |> will provide it in the Unix environment.  [...]
  30.  
  31. Only as a non-UNIX *extension*.  Yes, UNIX can have non-UNIX features
  32. added to it.  These can correct many of its failings.  To the extent
  33. these failings have been addressed in a particular implementation, the
  34. system is *not* UNIX.
  35.  
  36. |> [...]                                  I think Cray does, but I never
  37. |> needed it (because most of my programs on the Cray have only one bit of
  38. |> output, the number is prime or not).  I think also that Convex has it.
  39. |> It can be put in the Unix OS without problems.
  40.  
  41. Yes, the Cray implementation you mentioned added it by *bypassing* all
  42. the usual UNIX I/O stuff in the kernel.  They grafted it on, essentially
  43. as an independent feature, completely distinct from UNIX I/O.  It's
  44. a vast improvement.  If I were writing an I/O library for UNICOS (Cray's
  45. unix) I would use *only* the non-UNIX extended I/O calls - they not only
  46. provide asynchronous I/O, but synchronous I/O as well, and they're faster
  47. from what I understand.
  48.  
  49. |>  >                     For messing with text filters, UNIX has more
  50. |>  > power than Scope did - for most other things, UNIX does not.
  51. |> That is an understatement, Scope had no power at all, you had to write
  52. |> your own text filters.  Now please define "most other things".
  53.  
  54. Oh, Lattice guage theory (lots of multidimensional float arrays)
  55. which needs asynchronous I/O and other direct hands-on control
  56. of hardware capabilities to be efficient.  Or, how about really
  57. sophisticated text handling (which MS/DOS does better than UNIX),
  58. word processing and the like.  Or, how about human genome stuff
  59. (lots of bit twiddling on large collections of data - again a
  60. need for hands-on control of hardware capabilities, especially
  61. I/O).  Etc..
  62.  
  63. Yes, Scope is obsolete for these as well as UNIX.  We shouldn't use
  64. either *today*.  It's 20 years after that era.  At the time, Scope was
  65. much better than UNIX (which was nothing more than a mini-computer
  66. CP/M).  But, for the hardware that was then available, Scope was
  67. easier to learn and to use for *real* programming.  If I needed
  68. to have a Fortran engine again, I would still prefer Scope to UNIX.
  69.  
  70. |>  > [...]                                                       Due to
  71. |>  > its checkered past, UNIX is also home to more (and more subtle)
  72. |>  > inconsistencies.
  73. |> There are many more inconsistencies in Scope than in Unix.  Unix has
  74. |> only one command to copy a file.  Scope has: COPYBF, COPYCF, COPY,
  75. |> COPYSBF, COPYRAN.  Now can you quickly explain what [... a relatively
  76. |> number of examples ...]
  77.  
  78. Can you explain why the UNIX environment has two different pattern
  79. matching syntaxes (wildcards and regular expressions) and why the 
  80. different tools which need to do pattern matching are rather
  81. idiosyncratic about which they use?  Can you explain why, although
  82. different, they use the *same* characters as meta-symbols (so each
  83. has to be quoted to get through the other)?  Rational design requires
  84. either that there be only one such syntax, or if there are two, they 
  85. should be completely disjoint if they are ever to be used together.
  86.  
  87. Can you explain why there are two different tools to inquire the
  88. same database (the file directories): ls and find?  And can you
  89. explain why their overlapping usages don't use the same option
  90. names, etc.?
  91.  
  92. Can you explain why line-at-a-time text filters *exist* in UNIX (when
  93. the brag is that UNIX imposes no structure on files)?  Can you explain
  94. why such line-at-a-time filters have *different* line and files size
  95. limits?  Can you explain why several of them have overlapping capability
  96. but don't use the same syntaxes and/or option names for the same
  97. features?
  98.  
  99. Can you explain why *no one* seems satisfied with UNIX text editors (since
  100. there are so many of them - all incompatible)?  There wouldn't have been so
  101. many written if any of them were any good.
  102.  
  103. Can you explain why I can't even write (even if I want to) a remote
  104. `ls' command which lists files on a remote machine but which is
  105. compatible with `ls':  I can't say
  106.  
  107.       rls machine-id a*
  108.  
  109. to find all files in my home directory on the remote machine whose
  110. names begin with `a'.  *THIS* would be consistent, but the UNIX
  111. environment won't even *let* me do it.  Why?  They *CLAIM* it's for
  112. consistency!!  But, since that obviously *wasn't* a constraint in
  113. the rest of the environment (and this is counter to consistency
  114. anyway), this excuse is not valid.
  115.  
  116. Etc..
  117.  
  118. Yes, with as much extra development time as UNIX has had, I have
  119. no doubt that Scope *could* have developed to be as huge and ill
  120. structured as the UNIX environment.  I believe that CDC would 
  121. *probably* have taken the time to do something that was never
  122. done for UNIX: *STOP*, streamline, rationalize, and clarify
  123. the environment.
  124.  
  125. -- 
  126. J. Giles
  127.