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

  1. Path: sparky!uunet!gossip.pyramid.com!decwrl!sdd.hp.com!hplabs!ucbvax!toy.usl.com!lithgow
  2. From: lithgow@toy.usl.com (Malcolm Lithgow)
  3. Newsgroups: comp.sys.acorn
  4. Subject: Re: OS differences and improvements (Was Re: new PC's, what's happening acorn?)
  5. Message-ID: <9208271107.AA10352@ucbvax.Berkeley.EDU>
  6. Date: 27 Aug 92 07:35:15 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Lines: 162
  9.  
  10. Last message on this subject. (I hear a lot of sighs of relief. ;->)
  11.  
  12. [In message "Re: OS differences and improvements (Was Re: new PC's, what's happening acorn?)", Andy Duplain writes:]
  13. >    All you seem to be saying is that the user process should have
  14. >    more control over what pages get swapped and what pages don't.
  15. >    You say that the user process VM manager should be able to do
  16. >    this, but you're wrong;  a user process would never be given
  17. >    the CPU priviledge to do it, because of security reasons (a multi-
  18. >    process operating system would never provide a way for a user
  19. >    process to gain this priviledge -- you're just asking for
  20. >    trouble).
  21.  
  22. No, I'm not saying that. I'm suggesting that, instead of the simplistic
  23. limits of UNIX-style systems, where code runs as either system or user
  24. code, that another type be added, and used.
  25.  
  26. In this case, I am talking about a 'library' of object managers that
  27. user code uses to manipulate data-structures, etc. These object
  28. managers are not part of the OS in the UNIX sense of the word, but
  29. *are* in the (far more flexible and extensible) RISC OS sense of the
  30. word. They are used by user processes (like libraries or system calls
  31. or SWI's), and have a number of instantiations for each user process
  32. (like shared libraries). The user process itself need never directly
  33. call the OS memory management services. In fact, the user process need
  34. never have code for most of the fundamental data structures.
  35.  
  36. The core OS regulates access to the memory mapping, but doesn't dictate
  37. it. Regulation alone removes any security problems (as far as business
  38. needs are concerned) -- we don't need to be dictated to.
  39.  
  40. >You also agree that the majority of the code would still
  41. >    exist in the kernel, so all you're saying is that a new system call
  42. >    should be added to allow the user process to control his virtual
  43. >    memory... that is the _only_ way it could be done.
  44.  
  45. No, I think the code still in the kernel would be minimal -- a few
  46. hundred lines of C or Assembler at the very most. Most of the code
  47. would be in the 'libraries' or 'object servers'.
  48.  
  49. >But why do
  50. >    you need it ?  One of the principle goals in any operating system
  51. >    is to provide the user with a "virtual computer", one where the
  52. >    disk, tape, memory etc devices are uniformly addressable.
  53.  
  54. The job of an operating system is to abstract the software environment
  55. from the hardware environment (so that the OS will not change when the
  56. hardware changes, and so that the burden on programs is reduced), which
  57. my proposal does. I'm not sure what you mean by 'uniformly
  58. addressable', and I don't remember seeing any such requirement in any
  59. of the OS Architecture books I've read.
  60.  
  61. >By giving
  62. >    the user so much control over the memory system, this "virtual
  63. >    interface" is lost.
  64.  
  65. No it isn't. The user (actually the system libraries) simply has a more
  66. powerful virtual interface. Now the library code can request memory,
  67. remap it, or release it. What is so hardware-bound about this?
  68.  
  69. >No virtual memory system is perfect, as it
  70. >    takes too much processing time to be so, but I, as a user, would
  71. >    rather not have to worry about it; it's the operating systems job.
  72.  
  73. Exactly. And my proposal not only takes the worry off your mind, but it
  74. also takes the the toil of writing code to handle b-trees, hash-tables,
  75. frame-buffers, text-buffers, lists, tables, queues, stacks, etc. off
  76. you.
  77.  
  78. [Lot's of stuff about UNIX and application portability deleted.]
  79.  
  80. >>In fact, if people had a standard data format, they could spend the time
  81. >>to port their product to a different OS (such as RISC OS) instead of
  82. >>writing millions of converters. ;-)
  83. >
  84. >    I can't think of a more boring subject than "standard data formats".
  85.  
  86. How about application portability? ;-)
  87.  
  88. >    Most of the arguments between you and I in this newsgroup come
  89. >    about because you take every opportunity to slag off UNIX whenever
  90. >    you can.
  91.  
  92. Well, surely I have a right to? I work for USL, after all. ;-)
  93.  
  94. >You keep trying to compare RISC OS to UNIX when they are
  95. >    not in the same league, they are not for the same purpose, and are
  96. >    therefore incomparable.
  97.  
  98. Well, RISC OS is a piece of software designed to abstract the hardware
  99. from both software authors and computer users. UNIX is the same thing.
  100. They are comparable on that level. (Just as are a Mac truck and a
  101. Ferrari, both being self-propelled vehicles designed to transport
  102. things. In fact, I would say that UNIX and RISC OS are more comparable
  103. than that.)
  104.  
  105. >So what if UNIX is written in C and RISC OS
  106. >    is written in Assembler ?  The main aspects of an operating system
  107. >    should be what they offer by way of services to the user.  UNIX
  108. >    offers a uniform interface to the computer hardware, RISC OS doesn't.
  109.  
  110. Pardon? In what way does RISC OS fail to offer a uniform interface to
  111. the hardware? I can see no way that UNIX offers a more 'uniform'
  112. interface. The ease with which programs migrated from the BBC Micro to
  113. the Archimedes demonstrates how successful Acorn have been at designing
  114. systems to offer a 'uniform interface' to the hardware.
  115.  
  116. >    UNIX is used by many computer researchers to implement new systems
  117. >    (i.e. the VM system and fast filesystem that Berkeley introduced).
  118.  
  119. Neither of these are breakthroughs of any sort. DOS is used for the same
  120. purposes.
  121.  
  122. >    This can't be done on RISC OS, because (a) the OS source code is
  123. >    not distributable or even distributed, (b) it would take too long
  124. >    as it is done in assembler.
  125.  
  126. What you are saying is that RISC OS is not a big lump of source code
  127. for hackers/researchers to delight in. So what? Does that make it a
  128. worse OS? Of course not!
  129.  
  130. Because RISC OS is properly designed, bits of it can be replaced at
  131. your leisure, and have been over the years.
  132.  
  133. >UNIX is used at many commerical and
  134. >    educational establishments to control computers because it offers
  135. >    many capabilities.
  136.  
  137. Same with RISC OS.
  138.  
  139. >RISC OS is used by computer hobbyists to
  140. >    control their home computers; these people don't need mail systems,
  141. >    network    routers, network filesystems, office automation, project
  142. >    development environments.
  143.  
  144. This is true, too. RISC OS can live in a lower-end environment than
  145. UNIX. Does this mean it is worse? All the software you mention that
  146. 'these people don't need' is available for RISC OS, too.
  147.  
  148. >    To summarise:
  149. >    
  150. >        o The two operating systems are different. 
  151.  
  152. Too true.
  153.  
  154. >        o They are designed to perform different tasks.
  155.  
  156. Half true. (They are designed for the same task in different environments.)
  157.  
  158. >        o They are not comparable.
  159.  
  160. And completely false. Of course they are comparable!
  161.  
  162. Anyway, enough about UNIX. You know that I find UNIX full of holes, and
  163. I know that you consider it perfection itself. Unless you have some
  164. enlightening examples of why UNIX is so vastly superior, or I have some
  165. (more ;->) examples of why RISC OS is superior, let's agree to differ.
  166.  
  167. BTW, if you took RISC OS away from me, I'd want to use UNIX (except for
  168. graphical/DTP stuff, then I'd want to use the Mac). In other words,
  169. UNIX comes second after RISC OS. Happy that I'm less biased now?
  170.  
  171. -Malcolm.  lithgow@usl.com  These are merely my opinions.
  172.