home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / misc / 2415 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  9.1 KB

  1. Path: sparky!uunet!sun-barr!decwrl!bu.edu!jade.tufts.edu!news.tufts.edu!news.tufts.edu!tguez
  2. From: tguez@jade.tufts.edu (Name)
  3. Newsgroups: comp.os.ms-windows.misc
  4. Subject: Re: Windows == OS
  5. Message-ID: <TGUEZ.92Aug26193535@jade.tufts.edu>
  6. Date: 26 Aug 92 23:45:42 GMT
  7. References: <714807912.2@ttlg.ttlg.UUCP>
  8. Sender: news@news.tufts.edu (USENET News System)
  9. Organization: Tufts University - Medford, MA
  10. Lines: 153
  11. In-Reply-To: Monroe.Thomas@ttlg.UUCP's message of 26 Aug 92 04:57:04 GMT
  12.  
  13. >     >virtualizes like an operating system virtualizes.  Yet, this is all
  14. >     >nothing more than a layer of primitives.  You have to use window's
  15. >     >primitives to fell this "virtualization" try accessing any of these
  16. >     >things you mention directly and see how much of virtualization windows
  17. >     >truely provides.
  18. >
  19. >   Huh????  Do you know what you are talking about?  Any "good" OS
  20. >   always hides the hardware from the software developer.  If you want to
  21. >   access a hardware device, you have to do so through SYSTEM calls with
  22. >   a well defined API.  The OS then takes care of device contention,
  23. >   allocation, etc...  This is why DOS is *not* a good OS, because it
  24. >   lets software developers manhandle the hardware without DOS's
  25. >   knowledge.  I think anyone would agree that Unix is a "good" OS.  How
  26. >   do you think that malloc is implemented?  It eventually makes a system
  27. >   call (through that system's API) requesting memory.  The system then
  28. >   returns with a pointer to that piece of memory.
  29. Read the response for Heath's post about the difference between
  30. Operating System API, and what windows offers.
  31.  
  32. >   And what do you think an OS is except a bunch of "primitives"?
  33. >   How do
  34. Again the same response as the paragraph above, and there is a difference
  35. between UNIX layer's WHICH YOU CANT BREAK and windows layers WHICH ARE
  36. SOOOO FRAGILE as you said because it's DOS's fault.  This is excellent;
  37. another argument that Windows DOES NOT TAKE over essential operating
  38. system responsibilities from DOS!
  39.  
  40. >     >>   >touch it because now you have the malloc pointer.  Yet a true
  41. >     >>   >operating system, which supports this feature, does not care that
  42. >     >>   >you have the actual pointer, it changes the base address of your
  43. >     >>   >pointer on the hardware level.
  44. >     >>    Actually, Win 3.1 changes the base address on the hardware
  45. >     >>   level.  By abandoning real mode, Windows has gained greatly in
  46. >     >>   memory management abilities.  Now, you can lock thatHGLOBAL
  47. >     >>   use the pointer throughout your App's life.  When you quit, just
  48. >     >>   unlock it once.  Windows will still be able to juggle your blocks,
  49. >     >>   it just doesn't have to have your cooperation to do it.
  50. >
  51. >     >Once more the same old same old, use window's primitves and you get
  52. >     >the abstraction, the point is that if windows was a real operating
  53. >     >system I could use malloc and the operating system could still juggle
  54. >     >with my memory blocks.
  55. >
  56. >   Once more "the same old same old", every OS should provide this exact
  57. >   amount of abstraction.  With Windows you CAN just malloc, Windows
  58. >   *will* "juggle" with your memory blocks.  How else do you think
  59. >   virtual memory is implemented?
  60. Execuse me!!!!  Windows WILL NOT touch your malloc memory blocks,
  61. and it will sort of juggle with your memory only with near pointers and
  62. that is also only because you got the same DS value; that is it does
  63. not play with your memory blocks in relation to your malloc calls, it
  64. will move your WHOLE program by changing the base address.  Compile
  65. in the compact or huge models where everything is far and windows will
  66. die a horrible death if it tried to play with it.
  67.  
  68. The sort of virtual memory windows provide is a joke compared to
  69. UNIX's virtual memory (a real OS), where whole processes get swapped
  70. out, readable and writable memory is swapped out.  Windows has a long
  71. way to go before real virtual memory support will appear.  AGGGGAIN,
  72. windows could not do this because it's still a slave for DOS which
  73. is a sorry execuse for an operating system now days.
  74.  
  75. >   Your understanding of what an OS should be is terribly limited... you
  76. >   seem to be using DOS as an example of what a true OS can do.  Most
  77. >   good DOS apps bypass DOS entirely when needing access to system
  78. >   resources...  DOS simply loads them into memory and executes them.
  79. >   All "good" OS's NEVER, NEVER let application programs access the
  80. >   hardware directly.
  81. I am sorry Sir, this group is not known for dog-fighting.  If you want
  82. dog-fighting join some of the discussions in comp.os.windows.advocacy.
  83.  
  84. WRONG! I don't use DOS as an example of what a true OS CAN do.  I
  85. highlight things that an opearting system takes care of and show that
  86. windows is still a child to DOS;  In that DOS is the operating system
  87. opearting the PC, when you use windows.  I have never presented DOS as
  88. THE operating system.  
  89. >
  90. >     >WindowsNT is another issue (another operating system not a GUI),and
  91. >     >Windows 4.0 is another story, and hay, I just read a post that says
  92. >     >that DOS 6.0 has a few things changed to make it ready for Windows
  93. >     >4.0, and among other things, make some changes to DOS 6.0 so that
  94. >     >windows 4.0 could become preemtive.  Hence, Windows does not solely
  95. >     >use DOS as a system device driver after all.
  96. >
  97. >   Again, it is woefully apparent that you don't grasp what operating
  98. >   systems are all about.  That's OK... lots of people use OS's without
  99. >   understanding them.  Just because I use a car doesn't mean that I'm an
  100. >   expert on internal combustion engines.
  101. English is not my native tongue, and I have been using it on
  102. day-to-day basis for only two years.  Therefore, I may use the wrong
  103. words or I may grammatically structure a sentense that would be more
  104. transparent otherwise.  You should, therefore, pay much more attention to
  105. the essence of the argument than it's surface appearance.  
  106.  
  107. Let me help you understand that paragraph: without any knowledge of
  108. how Windows or DOS are actually written (no source code) one must
  109. improvise.  Someone said that Windows 4.0 is going to introduce
  110. preemtive multi-tasking.  Another post said that, among other things,
  111. DOS 6.0 is a mutli-tasking DOS (the exact meaning of which was not
  112. clear).  Yet another, earlier, post said that MS is preparing DOS 6.0
  113. for the upcoming WINDOWS 4.0.  If you sit back now, and digest these
  114. three pieces of information you will see that windows cannot alone
  115. handle preemtive mutli-tasking (for window's apps), it needs some help
  116. from DOS, hence windows is NOT an operating system.  Now, again try to
  117. understand what I write.  I do not mean that multi-tasking equals an
  118. opearting system.  It should be clear to you that if you try to
  119. introduce multi-tasking to a non-multi-tasking environment and you
  120. cannot do it without making the non-mutli-tasking environment
  121. multi-tasking, you are seriously dependent on this non-multi-tasking
  122. environment, most likely to an extent of a master-slave
  123. relationship,i.e., Opearting System-Application.
  124.  
  125. If you follow this discussion, as it seems you have, you will
  126. encounter a post in which someone said that DOS is sort of a
  127. "device-driver" for windows.  So, when I write, "Hence, windows does
  128. not use DOS as a device-driver after all." I refer back to that to
  129. show that the concept of is not true, and in this particular example,
  130. DOS is more than a device-driver for windows.
  131.  
  132. >     >>    So what if it is?  That is a lot like what UNIX does, too.
  133. >     >>   Windows also provides for interprocess communication, device
  134. >     >>   sharing, serialization of input, virtualization of all hardware,
  135. >     >>   file locking and sharing, true preemptive multitasking with DOS
  136. >     >>   boxes in enhanced mode.
  137. >     >Noooo, unix plays with the stack and does context switches and all
  138. >     >sorts of things.  You see if the loop outlined above is a good guess
  139. >     >of what's happending (again, never seen the source code), then the
  140. >     >function WinMain uses the same stack as the calling program (simple
  141. >     >function call).  Hence, in order to introduce preemptive multi-tasking
  142. >     >there should be some arrangement to make a copy of the stack, and hold
  143. >     >a few stocks in memory and switch between them and take care of PCLBs
  144. >     >and all sorts of things that windows does for DOS apps but not for
  145. >     >windows apps.
  146. >
  147. >
  148. >   Huh??? You've never seen the source code, but you know this?  How an
  149. >   OS multitasks has nothing to do with anything but multitasking.
  150. You don't have to see the number 123456! to know it exists.  If you
  151. read carefully the text-books describing the functionally of windows,
  152. and you know the general mechanics (implementation) of these concepts
  153. you don't have to see the code.  If I tell you that FORTRAN has no
  154. stack, you don't need to be told that you cannot do recursion, and if
  155. I tell you that PROLOG is a declarative language, you would be stupid
  156. trying to find a for statement in a prolog manual.
  157.  
  158. >   I suggest heading down to the local library and grabbing a book on
  159. >   operating systems.  Read it, and then come back and tell us this all
  160. >   over again.
  161. Although you are very interested in my background, I will have to
  162. disappoint because that does not make an argument valid, sound or
  163. convincing-- I will not comment on that for now.
  164.  
  165. Tomer
  166.